Navigation Bar

I think I'll like this feature. But my fingers keep expecting something to be there that isn't: When I nav up the hierarchy (let's say my nav bar terminates at a folder), there doesn't seem to be an intuitive way to nav deeper. I keep expecting that Enter will somehow let me nav into that folder (i.e. add a new spot on the right in the nav bar).

Also, I'm finding it unintuitive that hitting Enter puts focus into the project view. I guess I see that once in the project view, I can use my arrow keys to nav around, but it'd be cool if I could use just the nav bar to get around, without ever using the project view.

20 comments

Okay - I now this is a stupid question...
But where can I find the Navigation Bar???

0

Hello Johannes,

JS> Okay - I now this is a stupid question...
JS> But where can I find the Navigation Bar???

View | Navigation Bar

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Hello Johannes,

Or even better Alt+Home

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Aaaaah - thanks :)



0

Or even better Alt+Home


I was about to ask for a shortcut to focus the Navigation Bar, but I guess Alt+Home answers that. However, I'm not sure if I like the way the navigation bar pops up in the middle of the editor.

Two alternative suggestions:

1) Pressing AltHome would show the navigation bar (at the top) if it's hidden, and hide it again after use. If the navigation bar was already visible, AltHome would just give focus to it.

2) Pressing Alt+Home would focus the navigation bar if it's already being shown at the top, but work exactly as it does now if it's hidden.

I'm leaning towards (1).

0

Nice one,
as the first poster said, i seem to expect psychologically something more to be there when i click on a specific package or directory
like the list of files available in that directory for a start ?
allowing me to select one are multiple files in the dir/package would be nice

just like clicking on a directory where you get to see the contents of the dir

cheers,
parthi

0

Hello parthi,

p> as the first poster said, i seem to expect psychologically something
p> more to be there when i click on a specific package or directory
p>
p> like the list of files available in that directory for a start ?

Press the Down key to see that.

p> allowing me to select one are multiple files in the dir/package would
p> be nice

The Navigation Bar has mostly been designed for simple and fast navigation
operations, so multiselection doesn't really fit in there - the file is opened
by the first click. If you need multiple selection, Project View is still
your friend.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Doesn't the down-arrow display a list of folders and items at the same level as the current item? I think what we're looking for is a way to see the files/folders in the current item (i.e. the items one level deeper). Like, if the right arrow key would add a new box to the right, highlight it, then I could down arrow to the item I want.

Also, the enter button is awkward. It makes sense that the enter button should put focus in the editor when the current item is a file, but when the current item is a folder, I don't expect the focus to move away from the nav bar. As above, I expect to be able to nav into that folder from within the nav bar.

0

Agree,
1. I think that Nav Bar heights shouldn't be that big, it is way to much space between text margins and border
2. I would expect that Nav Bar will pop up a drop down with the node children list when I click on particular node then this child node should become current.

0

Hello Vladimir,

VG> 1. I think that Nav Bar heights shouldn't be that big, it is way to
VG> much space between text margins and border

Agree. And if you could make it so that it can be placed somewhere else (in
line with the tabs, or next to the menu, or something) that would be great.
Right now a lot of vertical space is wasted for something that occupies at
most one third of the horizontal screen size.

Maybe you could make it editable as well (something like a browser's address
field). When the user types the dot the IDE would pop up the possible links.
You already have that in the completion functionality for classes, for instance,
where you highlight valid packages as the user types them and offer options
after the dot (or / or whatever you choose as the separator).

Best,
Andrei


0

Agree. And if you could make it so that it can be
placed somewhere else (in line with the tabs)


+1. Placing the navigation bar inline with tabs would be great, specially for us folks that set the tab limit to 1, which I believe is a "good practice" for IDEA.

0

Press the Down key to see that.


Why the Down Key? Shouldn't be better to access the list simply by pressing the left mouse button? (which currently does nothing)

Francesco Bellomi
http://www.fran.it

0

Marcus Brito wrote:
>> Agree. And if you could make it so that it can be
>> placed somewhere else (in line with the tabs)


+1. Placing the navigation bar inline with tabs would be great, specially for us folks that set the tab limit to 1, which I believe is a "good practice" for IDEA.

+10 - I was about to suggest the same!
In fact the best thing for me would be to have no tabs at all, just the
last button of the nav bar always synched up to the file I'm editing,
and also showing it's vcs & modified status - as the tab now does.

N.

0

I waited a day with my suggestions, and indeed most them have
already been discussed here (not so tall, easier 'down' navigation, ...).

Here are two issues that have not yet been raised:
- I think the Navigation Bar should honor the setting "Hide file extension in editor tabs"
(and the setting should be renamed and probably moved to the "Display" category on
the same settings page, because it also applies to the nav bar).
On a related note this is another case of twisted logic, IMHO the checkbox should
be "Show file extension in editor tabs" with default value inverted.
(Also I just noticed, that if you had the setting switched on (extensions hidden),
then switch it off (extensions not hidden aka extensions shown), the tabs in the
editor do not update immediately, but only if you select each one.)
- It is not clear to which entry in the nav bar each icon belongs:
It is positioned exactly in between two entries. It should be a couple of pixels
closer to the item on its right.

0

cool,
its allready there,
very nice

agreed with multiple selection

Thanks

0

I like this navigation bar thing. It could prove useful on my 12" PowerBook with only 1024x768.

I disagree with Vladimir Goncharov who expects to see the children on the currently selected node after pressing the "Cursor down"-key. It's expanding the siblings of the current node and that is IMHO the only way to do it that feels logical here. But I would also like to have an option to navigate to the children of the current node (inner classes and methods on class nodes). When I press Alt+Home I would actually like to see the current method as the last element in the navigation bar.

The biggest problem of the navigation bar is that navigation is a bit clumsy with it. You cannot change into another package and to a class in that package.

What about:

  • Use "Cursor down" to expand the siblings of the selected node (like it's already working now)

  • Use "Cursor left" on a selected sibling to make it the new selected and last node in the navigation bar.

  • Use "Cursor left" on the last node in the navigation bar to produce a popup with the children of that node.

  • Enter jumps to the selected node (whether in the navigation bar or in the expanded siblings of one node)


Cheers,
Robert

0

What about:

  • Use "Cursor down" to expand the siblings of the selected node (like

it's already working now)

  • Use "Cursor left" on a selected sibling to make it the new selected

and last node in the navigation bar.

  • Use "Cursor left" on the last node in the navigation bar to produce

a popup with the children of that node.

  • Enter jumps to the selected node (whether in the navigation bar or

in the expanded siblings of one node)


"tab" might also be a good alternative/addition to cursor left. Where Enter
selects the current and shifts focus, maybe tab could just select the current
node, and move one node to the right (creating a new child node if necessary).
Obviously, if the current node has no children, tab would only select the
current node and nothing more.

I'm thinking "tab" might feel somewhat intuitive here since it echos path
completion in most shells.


0

Tab doesn't sound bad.
BTW. It should have been "cursor right".

0

Hello Robert,

But what about navigation inside nav bar itself? Should I scroll to the top
of the list (siblings) to move to the next/prev item of nav bar? Now it is
implemented exactly as right/left :)

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Tab doesn't sound bad.
BTW. It should have been "cursor right".



0

Close the popup with Esc (works already) then navigate in the nav bar.

Cheers,
Robert

0

Please sign in to leave a comment.