Author Topic: Go to Reference not working as I expected.  (Read 2642 times)

MealTicket

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Go to Reference not working as I expected.
« on: March 05, 2015, 02:41:04 PM »
I have this line...
Code: [Select]
#define CONFIG_MXC_SPI
I right-click on CONFIG_MXC_SPI and "Go to Reference", but it only shows me references to CONFIG_MXC_SPI in the current directory, not the entire tree recursively.

When I go to Tools>Tag Files... and then the current workspace .vtg file I see that all directories and files are included.

It seems to work for the current directory, but not the entire tree. It must be part of the missed preprocessor symbol, but why did it work for the current directory? How do I easily make it work on all preprocessor symbols for the entire tree?

This also holds true for functions. I have this function...
Code: [Select]
int dram_init(void)
When I right-click on dram_init and "Go to Reference", it doesn't show me all the references.

There's a file that calls it like this...
Code: [Select]
dram_init,
...and "Go to Reference" doesn't find it. How do I make it work almost like a text search?