how to setting codewarrior auto prompt function

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

how to setting codewarrior auto prompt function

788 Views
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 

Tags (1)
0 Kudos
2 Replies

743 Views
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 Kudos

768 Views
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 Kudos