How do I synchronize the current document/file with the project hierarchy?

I often have quite a few files open and when I do a "Go to Declaration" I'd like to have the project hierarchy change (and hilight) the file that I'm currently view. Is this possible? In other words, I'd like to synchronize the project hierarchy with the currently selected file (i.e. the file being edited).

H

4 comments
Comment actions Permalink

Hello harold,

I often have quite a few files open and when I do a "Go to
Declaration" I'd like to have the project hierarchy change (and
hilight) the file that I'm currently view. Is this possible? In other
words, I'd like to synchronize the project hierarchy with the
currently selected file (i.e. the file being edited).


Please press the "Options" button in the Project view and enable the "Autoscroll
from source" option.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Thanks. This works like a charm.

My only comments/grips are:

a: I didn't see this feature anywhere in the Settings dialog when I check the "IDE Settings>Editor" options, further,
b: The name assigned to the feature is not very intuitive.

Cheers
H

0
Comment actions Permalink

Hello harold,

Thanks. This works like a charm.

My only comments/grips are:

a: I didn't see this feature anywhere in the Settings dialog when I
check the "IDE Settings>Editor" options, further,


This setting is specific to each Project View pane, and thus isn't displayed
in the Settings dialog.

b: The name assigned to the feature is not very intuitive.


What name would you expect?

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Something that includes "Synchronize files with Project Navigation"

Cheers

0

Please sign in to leave a comment.