Author Topic: Goto C/C++ definition when there are more than one.  (Read 3181 times)


  • Community Member
  • Posts: 6
  • Hero Points: 0
Goto C/C++ definition when there are more than one.
« on: September 04, 2007, 02:59:11 pm »
I use SE on Linux and I have discovered an annoying feature when browsing C++ code.

I have more than one tagged definition of a class X.
I want to go to the definition of class X (using Ctrl+. for example).
The window "Select a tag" pops up as expected, as there are several definitions to choose from.
But the list shows not only the definitions, it show all forward declarations of class X as well. And the declarations are shown with the same magenta colored icon as the definitions, so there is no quick way to find the definitions in a long list.

This is really annoying as SE code browning is otherwise so quick and distinct.

(And yes, I have selected Tools->Options->FileExtentionSetup...->ContextTagging->Go to Definition navigates to symbol definition")



  • Senior Community Member
  • Posts: 2743
  • Hero Points: 288
Re: Goto C/C++ definition when there are more than one.
« Reply #1 on: September 04, 2007, 03:08:20 pm »
Same ambiguity as discovered with extern decls. of global vars (in my case) ...
For the time being ensure that the Preview TB is almost always visible. The dialog displays the corresponding code there when 'Select(ing) a tag'.
BTW: This cool preview feature applies to other things too e.g. when browsing search results in the edit win etc.