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,533件の閲覧回数
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,255件の閲覧回数
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,255件の閲覧回数
Lundin
Senior Contributor IV
Just double-click on the text to select it, before right-clicking at it will work.
0 件の賞賛
返信
1,255件の閲覧回数
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,256件の閲覧回数
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 件の賞賛
返信