CWHC08 V6.1 -- IDE editor suggestion/error: Go to macro declaration of...

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CWHC08 V6.1 -- IDE editor suggestion/error: Go to macro declaration of...

Jump to solution
2,046 Views
wre
Contributor III
Hi.  I have noticed that the right-click context menu will list "Go to macro declaraion of x" if the macro stands by itself or is preceded with '!' (and some others) but the "Go to..." item will not show up if the macro is preceded with '~'.  Is this a bug or just something that got missed?  If a bug hopefully it won't be too much work to fix.  If it was missed I would appreciate if it was added to the editor wish list.
 
LCD_REDBL     "Go to..." menu item is in right-click context menu
!LCD_REDBL   "Go to..." menu item is in right-click context menu
~LCD_REDBL   "Go to..." menu item is NOT in right-click context menu
 
Thanks,
Bill
 
Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
768 Views
CompilerGuru
NXP Employee
NXP Employee
If you want to have it fixed, I would suggest to file a service request so it gets tracked.
However I'm not so sure this one is easy to fix, basically the ~ counts towards the identifier I guess to support C++ destructors. You can see this for example when double clicking on a identifier, for the ones with a tilde, the tilde is selected as well. And you you can see it when using Ctrl->Left (move to previous word) it jumps across the tilde together with the identifyer.

There is at least an easy workaround, just select the part of the name you want to lookup, and right click for the context menu.

Daniel

View solution in original post

0 Kudos
Reply
3 Replies
768 Views
Lundin
Senior Contributor IV
Just double-click on the text to select it, before right-clicking at it will work.
0 Kudos
Reply
768 Views
wre
Contributor III
See the reply from CompilerGuru as to why that doesn't work.  Selecting the text without the '~' will work as he described.
 
Thanks,
 
Bill
 
0 Kudos
Reply
769 Views
CompilerGuru
NXP Employee
NXP Employee
If you want to have it fixed, I would suggest to file a service request so it gets tracked.
However I'm not so sure this one is easy to fix, basically the ~ counts towards the identifier I guess to support C++ destructors. You can see this for example when double clicking on a identifier, for the ones with a tilde, the tilde is selected as well. And you you can see it when using Ctrl->Left (move to previous word) it jumps across the tilde together with the identifyer.

There is at least an easy workaround, just select the part of the name you want to lookup, and right click for the context menu.

Daniel
0 Kudos
Reply