Page 1 of 1

Pulldown menu's both ways.

Posted: Thu Aug 07, 2008 4:55 pm
by user
I'm using cscope to navigate.

It looks like the two pull down menu's (at the top of the edit screen) are related to cscope. based on that I continue with my question.

What I find handy it hat it tells me where the cursor is at that moment, good stuff.

I've notices that in the left pulldown menu there is only one text (listitem) "<global>".
My expectation would be that it can be used the other way around. Meaning to move to the workspace, and chose between scopes
(global scope, a workspace file, module scope, etc)

Is there a configuration needed to be set to enable this or am I just wrong in my expectation( It would be cool thow : 8-) ?

Re: Pulldown menu's both ways.

Posted: Thu Aug 07, 2008 6:21 pm
by eranif
user wrote:Is there a configuration needed to be set to enable this or am I just wrong in my expectation( It would be cool thow : 8-) ?
I am afraid you are wrong...

The first pull down menu, is used to indicate scope of the current caret location

When coding in 'C' the scope is usually '<global>'
But when coding in C++, the scope name can be class name, namespace or '<global>'


Eran

Re: Pulldown menu's both ways.

Posted: Fri Aug 08, 2008 12:17 am
by user
Well I was already afraid it meant to be a C++ feature, nothing bad about that.

Thanks to clear this up.

Re: Pulldown menu's both ways.

Posted: Fri Aug 08, 2008 12:28 am
by eranif
Here are some tips for quick navigation:

Use 'Open Resource' to quickly open file (Ctrl-Shift-R)
Use 'Quick Outline' to get the current file outline (Ctrl-Shift-O)

Eran