SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: sndom on December 08, 2016, 03:44:05 pm

Title: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
Post by: sndom on December 08, 2016, 03:44:05 pm
I'm finding that the cross-referencing and the go to references functionality is broken for C++ since 21.0

Given a class defined in a .h file, a .cpp with the declaration of methods, and references to the methods from other .cpp files then:

From the .h file, go to references on a method takes me to the declaration but none of the references in other .cpp files.

From the .cpp with the declaration, go to references finds nothing.

From other .cpp file referencing a method, go to references will take me to the declaration, but none of the other references.


This is in the context of a reasonable sized VisualStudio 2015 solution.
Title: Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
Post by: Dan on December 08, 2016, 03:46:15 pm
Do all of the files show up in the projects tool window?
Title: Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
Post by: sndom on December 08, 2016, 04:16:29 pm
Yes.  They're all in the same project (one of many in the solution).
Title: Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
Post by: sndom on December 08, 2016, 04:19:18 pm
They're also all in the 'Workspace and Project Tag Files' list in the Context Tagging - Tag Files dialog
Title: Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
Post by: Dan on December 08, 2016, 04:25:30 pm
If you to to Tools>Tag Files, and look at "Workspace and Project Files", are all the files there?
Title: Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
Post by: sndom on December 08, 2016, 04:36:58 pm
Yes, they are there.
Title: Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
Post by: sndom on December 08, 2016, 05:07:11 pm
If I dump the workspace .vtg with listvtg.exe I see the proto and func in the  Tag|Class|Flags/Type|File:Line table and multiple references in the Occurrence|File table.
Title: Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
Post by: Dan on December 08, 2016, 05:25:42 pm
Is there any chance you can reproduce it in a small sample?