support
Whole Tomato Software
5566 Posts |
Posted - Mar 13 2006 : 1:29:05 PM
|
We assume you refer to "goto definition" available in the standard context menu. This functionality is from the IDE which often guesses at where to "go." In this case, the IDE doesn't bother to notice the comment and goes to the place you expect. While nice, we're not sure it's entirely intentional.
As you have discovered, VA X does not parse commented code so it's "go" commands don't work in such cases. (Alt+G or from our context menu available via Shift+Right+Click.)
If you comment code using #ifdef NOTDEF and #endif, VA X does parse the code and Alt+G will work as you expect. |
|
|