Author Topic: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)  (Read 2995 times)

sndom

  • Community Member
  • Posts: 70
  • Hero Points: 1
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.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2897
  • Hero Points: 153
Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
« Reply #1 on: December 08, 2016, 03:46:15 PM »
Do all of the files show up in the projects tool window?

sndom

  • Community Member
  • Posts: 70
  • Hero Points: 1
Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
« Reply #2 on: December 08, 2016, 04:16:29 PM »
Yes.  They're all in the same project (one of many in the solution).

sndom

  • Community Member
  • Posts: 70
  • Hero Points: 1
Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
« Reply #3 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

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2897
  • Hero Points: 153
Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
« Reply #4 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?

sndom

  • Community Member
  • Posts: 70
  • Hero Points: 1
Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
« Reply #5 on: December 08, 2016, 04:36:58 PM »
Yes, they are there.

sndom

  • Community Member
  • Posts: 70
  • Hero Points: 1
Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
« Reply #6 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.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2897
  • Hero Points: 153
Re: C++ goto references not working in 21.0.1.0 (and earlier 21.x versions)
« Reply #7 on: December 08, 2016, 05:25:42 PM »
Is there any chance you can reproduce it in a small sample?