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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
2,530 次查看
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
 
标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,252 次查看
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 项奖励
回复
3 回复数
1,252 次查看
Lundin
Senior Contributor IV
Just double-click on the text to select it, before right-clicking at it will work.
0 项奖励
回复
1,252 次查看
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 项奖励
回复
1,253 次查看
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 项奖励
回复