|
|
Home » Community » U++ community news and announcements » ide: Navigator redesigned
|
|
Re: ide: Navigator redesigned [message #43441 is a reply to message #43438] |
Thu, 31 July 2014 15:32   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
Mindtraveller wrote on Wed, 30 July 2014 18:23Hi, Mirek!
This is certainly an interesting attempt to make better code navigation.
In my opinion previous version had one good ability to switch between native and alphabet sorting. Personally I've used alphabet sorting because generally it was much easier to find one from alphabetically sorted routines.
I will add an option for alphabetic sorting. But I think it will better be ignored in "file overview" mode.
Quote:
I also would like to discuss the way items are visualized.
Mirek, it is certainly an era of widescreen PCs now, and it would be good to support widescreen features where possible. So if description of item is better fit into one line, it is better be so. In my opinion, you had an elegant visualization before:
<type> <namespace>::<item>
If you wanted to make it more elegant, you could make it something like this:
<namespace_semitransparent::><item>
(one column of semi-transparent drawn namespaces and next column of item names). And no horizontal lines.
If you need visualization, I'll make it.
This is how in my opinion it could be done better.
Well, besides the width problem (and I have 1600 screen on notebook and 1920 on desktop), the other problem is that it is IMO good to see the name as first thing on the line.
But I think I might add an option for this too 
Thanks for comments.
Mirek
|
|
|
|
|
|
Re: ide: Navigator redesigned [message #43501 is a reply to message #43499] |
Tue, 12 August 2014 21:53   |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
mirek wrote on Tue, 12 August 2014 11:55One minor change: putting ':' in front of class name makes navigotor require full match.
So the list of options is now:
line number
'CAT' lists all elements where class name or member name contains 'CAT' (case ignored)
'STRING:CAT' lists all elements where class name contains 'STRING' and member name contains 'CAT' (case ignored) (so that includes e.g. StringBuffer::Cat)
':STRING:CAT' lists all elements where class name is equal 'STRING' and member name contains 'CAT' (case ignored) (does not include StringBuffer::)
'CAT' doesn't work but the second two cases do.
Nick
EDIT (moved from other thread): The ability to switch between declaration and definition would be good. Also, the current version is a little hard to read for me - even with 2560x1440 screen real estate is at a premium and having each member be two lines is not helping. The old version did everything I needed really. I can see how it would be good to be able to browse all versions of GetX() regardless of what class they are in but at the moment, the cost is greater than the benefit. I am happy to FindInFiles "GetX" and then step through them all. Losing the ability to jump between classes and to see all class members quickly and clearly is causing me problems. Have to say I love all the other recent improvements. Just not a fan of losing the class view so far.
Nick
EDIT: also, when diving into headers, it was handy for the navigate panel to tell you you're in the class you think you're in. Now I need to scroll up and down to check before I start typing. A big part of navigation is knowing where you are in addition to knowing how to get where you're going 
EDIT: I've been using this for a few hours and it really is not doing what I need. Is there any possibility that we could have the new functionality as another tab/option next to the old class view which was really the heart of theIDE UI and was what made it such a pleasure to use.
[Updated on: Wed, 13 August 2014 00:01] Report message to a moderator
|
|
|
|
Re: ide: Navigator redesigned [message #43505 is a reply to message #43504] |
Wed, 13 August 2014 10:58   |
masu
Messages: 378 Registered: February 2006
|
Senior Member |
|
|
Mirek, it would be nice to also get the jumping between declaration and definition when repeatedly clicking on the function/method name like it was implemented with the old version.
At the moment, when clicking on the function/method it only jumps to the declaration/definition currently present in the edited file (usually declaration if .h file is shown and definition in case of a .cpp file).
Regards
Matthias
931b81e7ea53320dccc37375b34b38c3
|
|
|
Re: ide: Navigator redesigned [message #43506 is a reply to message #43505] |
Wed, 13 August 2014 12:50   |
|
I think that new navigator should appear in a new window as previous one. For example now I press ctrl-g and I type something and press cursor down and up to navigate through functions and editor cursor is moving instead. This is annoying. Very annoying I would remove navigator from splitview (problem with longer names) and put it only in a popup dialog. It was a way more convenient for me.
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Tue Apr 29 14:58:40 CEST 2025
Total time taken to generate the page: 0.04535 seconds
|
|
|