The problem I want to solve is that due to the very good code navigation features you end up with many many open files - which are displayed as tabs. And tabs just don't scale - the only thing that helps is regular closing.
When "browsing" source code, you normally browse like with a web browser. And I think everybody would agree that opening a new tab for every clicked link would be stupid. In a web browser the user has the choice. Ctrl+Click opens a new tab, a normal click navigates to the link in the current tab. When entering an url the same - by default stay in the same tab, but the user can choose to open a new tab first.
And exactly that I implemented for KDevelop:
- by default open in current tab
- except: current file as unsaved changes
- or: current tab is marked as "Sticky" (as in "Keep it open, I want to edit that file")
- Keyboard modifiers for actions that open files
- Code navigation in document: Ctrl+Shift+Click (instead of Ctrl+Click)
- Ctrl+Enter in Quick Open
- Ctrl+Click in Project View
git clone git://anongit.kde.org/kdevplatform
git checkout browser-like-tabs
mkdir build && cd build && cmake .. && make && make install
git clone git://anongit.kde.org/kdevelop
git checkout browser-like-tabs
mkdir build && cd build && cmake .. && make && make install
Activate the feature in Configuration -> UI Configuration -> Browser like tabs checkbox. (It's disabled by default) Try to get used to it, and send us your thoughts to our mailing list.
TODO:
- The history navigation is broken
- Modifiers for Filesystem view and Grep view
- Find solution for Ctrl+Dbl-Click in project view extends selection
I've just built this to try it out.
ReplyDeleteI'll let you know how I get on.
Eclipse does something similar, its quite intelligent. Works something along the lines: Doing "open declaration" in a file creates a new tab with the target type. When doing the same in this new tab the editor is replaced with the next file etc. Other actions like "quick open" still open a new tab. I'm not sure what happens with results from code-searches (i.e. find all declarations of a function, find all uses etc.), but I think those will also be opened in the same tab.
ReplyDeleteThat being said, I have love-hate relationship with this feature :) Its often nice, but sometimes it requires me to go through extra steps to keep multiple files open that I want to switch back/forth between.
Anyway, its definetly an interesting idea to solve the tab-problem and worth pursuing.
Also, could you add an option to open a declaration/definition in a split view rather than a new tab?
ReplyDeleteI have a widescreen monitor and I would probably change the Ctrl+Click to that if you implement it.
:)
@shocklateboy:
ReplyDeletehm, I don't see how this could be done. Open a new split view for every click? Or use two and always switch to the other one? Or use the "buddy"-feature for that and open h/cpp in separate split views?
@Niko If I could suggest, may be give also a thought to this bug: https://bugs.kde.org/show_bug.cgi?id=274209
ReplyDeleteNice useful article pertaining to small businesses like us. thank people and so much because of its detail information.Buzz Apps
ReplyDeleteDeveloping WordPress themes as per your requirements seems to be an easy job with so many tutorials available to help you. All you have to do is read a few guidelines and employ a set of techniques and there you are, with your very own creative and innovative customized theme design. See more html to wordpress conversion
ReplyDelete
ReplyDeleteThanks for info
Web designing company in Bangalore
Thanks...
ReplyDelete3D Printer Service in Bengaluru
ReplyDeleteThank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
web design company in india
website design company
web design india
website designing company in india
web design company
best web design company in india
website design
freelance web designer
best website design
web design company in kolkata
website designing company in delhi
web designing company in delhi
website design delhi
web design company in chennai
web design delhi
web design company in mumbai
best website designing company in delhi
website designing company in noida
web designing company in noida
web design company in bangalore
web design company in pune
website designers in bangalore
web designers in bangalore
web designing company in hyderabad
website designers in mumbai
website design company in mumbai
website design company in kolkata
low cost web design
web designing company in kolkata
web design kolkata
web designer kolkata
low cost web design company
website designer in kolkata
best web design company
website design india
https://nikosams.blogspot.com/2011/06/kdevelop-browser-like-tabs.html
ReplyDelete
ReplyDeleteGood content CMS Website Design in Bangalore
ReplyDeleteGood content CMS Website Design in Bangalore
ReplyDeleteGood content CMS Website Design in Bangalore
ReplyDeletegood information CMS Website Development in Bangalore Location Like RT Nagar
ReplyDeleteGood content CMS Website Design in Bangalore
ReplyDeletegood information CMS Website Development in Bangalore Location Like RT Nagar
ReplyDeleteGood content CMS Website Design in Bangalore
ReplyDeleteGood content CMS Website Design in Bangalore
ReplyDeletegood information CMS Website Development in Bangalore Location Like RT Nagar
thanks for sharing CMS Website Solutions in Bangalore
ReplyDeleteBài viết rất hay: Chúng tôi chuyên cung cấp các sản phẩm chất lượng
ReplyDeleteLều xông hơi giá rẻ tại hà nội
Những ai có thể dùng lều xông hơi tại nhà
Bài viết rất hay: Chúng tôi chuyên cung cấp các sản phẩm chất lượng sau:
ReplyDeleteLều xông hơi tại nhà
Lều xông hơi hồng ngoại
Cảm ơn các bạn!
good blog.
ReplyDeleteDigital marketing company in coimbatore
Which of the Following are Factors Related to Search Engine Optimization (SEO)
Adelaide Search Engine Optimisation
ecommerce website development company in coimbatore
Web development company in Coimbatore
good blog.
ReplyDeleteWebsite Design Company in Erode
Content Writing for Agencies
Web design company in Tirupur
what is happiness quotes
Website designer in navi mumbai
احصل من شركة ماسترتك علي ماكينات تعبئة بقوليات مصنعه بالكامل من الاستانلس ستيل القوي المقاوم للصداء لعمر افتراضي اطول للماكينة فتقوم ماسترتك بصناعة ماكينة تعبئة البقوليات بداخل مصانع الشركه تحت اشراف مهندسين مختصين في صناعة مكن التعبئة و التغليف.
ReplyDelete