how to setting codewarrior auto prompt function

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

how to setting codewarrior auto prompt function

806 次查看
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 回复数

761 次查看
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 项奖励
回复

786 次查看
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 项奖励
回复