how to setting codewarrior auto prompt function

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to setting codewarrior auto prompt function

808件の閲覧回数
zhangp973
Contributor II

hello buddy , 

i am a fresh to NXP codewarrior , i meet a problem that my CW could not prompt content automatically 

but i see others are able to do it , 

for example ,  i define a struct example  ,  when i type "struct." noting will appear after "."  

mine.JPG

but others will apprear related content .

others.JPG

anyone can help me ,thx 

タグ(1)
0 件の賞賛
返信
2 返答(返信)

763件の閲覧回数
zhangp973
Contributor II

thanks Stan,  i try it , but doesn't work ,  maybe some problem w/ my complile ( but it doesn't make sense as i download it from NXP website

 

o(╥﹏╥)o)

0 件の賞賛
返信

788件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello,

It seems that the definition you expect to be automatically prompted is outside of any valid C function/declartation block.

Please try to add "PARTID1STR." e.g. into a valid C function such as main()  within the same module and the prompt should pop up if there is no other syntax conflict.

Other option is the the file you added the union definition is not indexed by Eclipsed e.g. due to header file size. (see the Indexer properties screenshot below). but this would mean e.g. your source file is >8MB which is probably not the case.

stanish_0-1650406499238.png

 

Hope it helps.

Stan

 

0 件の賞賛
返信