Navigation bar question
Hi,
I have a question regarding navigation bar.
Assuming that I would like to change package and see classes in this new package,
I press Enter on the new package, and then I'm being forced into project view, which opens.
Is there a way to change package and navigate to a class in this chosen package, without leaving navigation bar?
Michal.
请先登录再写评论。
press cursor down?
maas napisa?(a):
Excuse me, but I want to change a package (so that I can choose class from the package).
Until now, the only way I found it to navigate to package I want to change (using curson down - yes!) and then press Enter.
But pressing Enter jumps to project view, while I would like remain in navigation bar and be able to choose class from newly
chosen package.
Is it clear enough? (I'm not a native English speaker).
Michal.
Hello Michal,
Unfortunately I hadn't time to do it till now ... I hope that next build
will include the following functionality:
1. Enter on package/directory/file etc - navigate in project view
2. Ctrl Down will show node's children
3. Choice in popup (sibling or child) will navigate inside Nav Bar for
package/directory and navigate to editor for files
Thank you
-
Best regards,
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
>> press cursor down?
>>
Anna Kozlova napisa?(a):
Thank you Anna. I can't wait to be the first to test improved navigation bar.
It's gonna be one of my favourite features in 6.0.
Is there a JIRA issue describing all of the above that I can watch?
Michal.
Hello Michal,
There is no JIRA issue but it's already done :)
-
Best regards,
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
>> Hello Michal,
>>
>> Unfortunately I hadn't time to do it till now ... I hope that next
>> build
>> will include the following functionality: 1. Enter on
>> package/directory/file etc - navigate in project view
>> 2. Ctrl Down will show node's children
>> 3. Choice in popup (sibling or child) will navigate inside Nav Bar
>> for package/directory and navigate to editor for files
>> Thank you
>> -
>> Best regards,
>> Anna Kozlova
>> JetBrains Inc.
>> http://www.intellij.com
>> "Develop with pleasure!"
Cool. It will be a real alternative to the project view on my 12" PowerBook with that features. Loooking forward.
Cheers,
Robert
Anna Kozlova napisa?(a):
>> Anna Kozlova napisal(a):
>>
>>> Hello Michal,
>>>
>>> Unfortunately I hadn't time to do it till now ... I hope that next
>>> build
>>> will include the following functionality: 1. Enter on
>>> package/directory/file etc - navigate in project view
>>> 2. Ctrl Down will show node's children
>>> 3. Choice in popup (sibling or child) will navigate inside Nav Bar
>>> for package/directory and navigate to editor for files
>>> Thank you
>>> -
>>> Best regards,
>>> Anna Kozlova
>>> JetBrains Inc.
>>> http://www.intellij.com
>>> "Develop with pleasure!"
>> Thank you Anna. I can't wait to be the first to test improved
>> navigation bar.
>> It's gonna be one of my favourite features in 6.0.
>> Is there a JIRA issue describing all of the above that I can watch?
>> Michal.
>>
Then please give us next EAP!!!! :)
Michal.
Perhaps a silly question... but what is Navigation bar? There's "gutter bar" with color stripes, but it seems you are talking about something else... Is that something new?
Yep, that was a silly question! I've found it in View menu.. so there is another question... when I do Select In->navigation bar, it just 'blinks' and the focus is not moved to navigation bar... so that's just a bug, right?
Hello Igor,
IK> Perhaps a silly question... but what is Navigation bar? There's
IK> "gutter bar" with color stripes, but it seems you are talking about
IK> something else... Is that something new?
Yes, it's a new feature. View | Navigation Bar or Alt+Home.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Hello Igor,
This is indeed a bug ...
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
A few notes..
- There is no way to jump from the package in project view to the nav bar, since Alt+F1 work only for files, not for folders...
- I like the idea of File Structure popup (CtrlF12) very much, because it helps to navigate quickly. I use it instead of Structure tool window exclusively - perhaps only because CtrlF12 is easier to type (?). So, Navigation bar behaving as File Structure popup would be cool. That is, it should be easily invokable and appear on screen for a time of navigation and disappear after that (at least I would prefer to have it like that). Perhaps, File Structure popup and this kind of Navigation bar could be merged into one thing (let's say, two-dimensional File Structure popup)...
Hello Igor,
IK> - I like the idea of File Structure popup (Ctrl+F12) very much,
IK> because it helps to navigate quickly. I use it instead of Structure
IK> tool window exclusively - perhaps only because Ctrl+F12 is easier to
IK> type (?). So, Navigation bar behaving as File Structure popup would
IK> be cool. That is, it should be easily invokable and appear on screen
IK> for a time of navigation and disappear after that (at least I would
IK> prefer to have it like that).
Alt+Home.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Cool, it works!
Perhaps "Right" button could also do the same thing? That's quite intuitive (I suppose "choice" here meant "enter")
Hello Igor,
"Right" shifts popup to the next item from navigation bar...
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
>> 3. Choice in popup (sibling or child) will navigate inside Nav Bar
>> for package/directory and navigate to editor for files
>>
Right... I mean, instead of just shifting to the next item, could it also change the next item and open another popup below the next item. This popup could display the children of selected item in the first popup.
That is
- if no popup is displayed
just shift to the next item
- if popup is displayed
- close current popup
- open new popup on the left displaying the content of the selected item in the first popup
- change the content of the left item to some item of this new popup.
Thus, effectively we can navigate to other forders.
A small example to make it clear
Let's say we have the structure
toppackage
package1
Class11
Class12
package2
Class21
Class22
and nav bar dispays
>[package2]< // selected
Right pressed - nav bar becomes
>[Class22]< // selected
So we've effectively navigated to package2 and now choosing from classes in package2. That's easier and faster, I think. It allows to navigate the whole trree only with cursor keys! (like in project view now)
better "picture"...
[package2]< // selected Right pressed - nav bar becomes [toppackage] [package2] [Class21] >[Class22]< // selected ]]>
Hello Igor,
Please, try current feature in next EAP. You can navigate with keyboard only
already.
If it wouldn't be convenient - let's discuss other suggestions.
Sorry, but your suggestion seem unnatural for me (May be I am wrong ;)).
I mean that NavBar modulates menu-like behaviour. In such cases - "right"
meens shifting to the right and nothing more ...
Thank you.
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
>> < // selected
>>
>> < // selected
>>
Well.. it does not have to be like menu.. it should be navigation tool...preferably for the whole project
menus have more or less fixed items so nav bar isn't like typical menu anyway...
I'm afraid that keeping in mind "i can't navigate the whole project anyway, without constantly switching to project view", I will tend not to use it..
Or there can be an option to configure it's behaviour...
Hello Igor,
You CAN navigate only with Nav Bar through the whole project - please look
at the next EAP (it was in the beginning of this thread)
I do not want to remove navigation to the project view from it because sometimes
it is more convenient for me to use project view but after some initial navigations.
Please, try it first :)
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Cool now - in #5281 that's a really useful feature.
Can you add the new error hightlighting feature for files and packages with errors to the navigation bar?
Cheers,
Robert
Hello Robert,
I am going to do it as soon as I can :)
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
While you're at it can you colour the file name according to it's vcs
status, just like it is done in the tabs? Then I can get rid of the tab
altogether!
N.
Anna Kozlova wrote:
>> Cool now - in #5281 that's a really useful feature.
>>
>> Can you add the new error hightlighting feature for files and packages
>> with errors to the navigation bar?
>>
>> Cheers,
>> Robert
Hello Nathan,
Of course - like in tabs, in project view or Ctrl N - they are all the same
:)
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
>> Hello Robert,
>>
>> I am going to do it as soon as I can :)
>>
>> Thank you
>>
>> -
>> Anna Kozlova
>> JetBrains Inc.
>> http://www.intellij.com
>> "Develop with pleasure!"
>>> Cool now - in #5281 that's a really useful feature.
>>>
>>> Can you add the new error hightlighting feature for files and
>>> packages with errors to the navigation bar?
>>>
>>> Cheers,
>>> Robert
Sorry Anna, are you suggesting that it should be already rendered like
this? I see the colour not being used - see attached screenshot.
Thanks,
N.
Anna Kozlova wrote:
>> While you're at it can you colour the file name according to it's vcs
>> status, just like it is done in the tabs? Then I can get rid of the
>> tab altogether!
>>
>> N.
>>
Attachment(s):
navbar.png
Hello Nathan,
No, I am only going to do it ...
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
>> Hello Nathan,
>>
>> Of course - like in tabs, in project view or Ctrl N - they are all
>> the same :)
>>
>> -
>> Anna Kozlova
>> JetBrains Inc.
>> http://www.intellij.com
>> "Develop with pleasure!"
>>> While you're at it can you colour the file name according to it's
>>> vcs status, just like it is done in the tabs? Then I can get rid of
>>> the tab altogether!
>>>
>>> N.
>>>
Ah great, thanks!
N.
Anna Kozlova wrote:
>> Sorry Anna, are you suggesting that it should be already rendered like
>> this? I see the colour not being used - see attached screenshot.
>>
>> Thanks,
>> N.
>> Anna Kozlova wrote:
>>
>>> Hello Nathan,
>>>
>>> Of course - like in tabs, in project view or Ctrl N - they are all
>>> the same :)
>>>
>>> -
>>> Anna Kozlova
>>> JetBrains Inc.
>>> http://www.intellij.com
>>> "Develop with pleasure!"
>>>> While you're at it can you colour the file name according to it's
>>>> vcs status, just like it is done in the tabs? Then I can get rid of
>>>> the tab altogether!
>>>>
>>>> N.
>>>>
Tried a new EAP
Perhaps I just don't know right keys to navigate? Ctrl+Down (as written above) doesn't work anywhere... so it's not clear how to open up a list of children?
Right, when I press Down, a list of siblings appear. Enter then navigates to the sibling in the navbar. This way I can navigate up the tree but not down again...
Hello Michal,
What do you think about new Navigation Bar?
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
I find it slightly confusing when I press Enter when I have no drop-down menu and it focusses the Project View.
I would prefer it if I could disable this behaviour and have Enter do the same as Down Arrow.
When I press Enter when I do have a drop-down it just opens the next level of hierarchy. I would prefer it if this was the consistent response to pressing Enter.