context popup windows problem

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

context popup windows problem

Jump to solution
1,625 Views
electropw
Contributor III
Hi,
 
I am using the HCS12 compiler, V4.6.
 
I have a problem that has begun to occur, and I accept that it is probably something I did.
 
There are 2 problems, but are probably related.
 
(1) When editing, I used to be able to select a label, be it variable, define or function, & on right clicking, be able to go to the definition or the declaration. However, I am nolonger given these options.
 
(2) When typing a defined structure variable I nolonger get the popup next member values.
 
Anyone know what I've killed to stuff this up?
 
regards
Phil
 
Labels (1)
Tags (1)
0 Kudos
1 Solution
460 Views
CrasyCat
Specialist III
Hello
 
Only other thing I may think about is may be the browser data base is corrupted for some reason.
 
Can you try the following:
  - close the IDE
  - Open a Windows Explorer window
  - Browse for your project directory (Where .mcp is located)
  - Delete the directory *_Data in there
  - Restart CodeWarrior and rebuild the project
 
Is is working better?
 
CrasyCat

View solution in original post

0 Kudos
4 Replies
460 Views
CrasyCat
Specialist III
Hello
 
Did you change the way the IDE generates Browser information?
 
The way Item (1) works depends on the way you create "Browser data base".
If  "Generate Browser Data From" is set to "Compiler"  in the project's "Build Extras" panel, you will only be able to jump to symbol declaration after the application has been built successfully.
.If  "Generate Browser Data From" is set to "Language Parser"  in the project's "Build Extras" panel, you will be able to jump to symbol definition even when application could not be built successfully.
 
Item (2) below is what we call code completion.
If you wish Code completion to work in the IDE. Make sure to set
  "Generate Browser Data From"  to "Language Parser" in the project's "Build Extras" panel.
Also make sure "Automatic Invocation" is checked in the IDE Preferences "Code Completion" panel.
 
CrasyCat
0 Kudos
460 Views
electropw
Contributor III
Thanks for the reply crasycat,
 
I went and checked all thoses settings and they match the settings you stated.
Stilll the same thing.
I did get it to work once on a local function label but after that even that failed again after I recompiled the project.
 
Anybody else?
 
thanks
 
 
0 Kudos
461 Views
CrasyCat
Specialist III
Hello
 
Only other thing I may think about is may be the browser data base is corrupted for some reason.
 
Can you try the following:
  - close the IDE
  - Open a Windows Explorer window
  - Browse for your project directory (Where .mcp is located)
  - Delete the directory *_Data in there
  - Restart CodeWarrior and rebuild the project
 
Is is working better?
 
CrasyCat
0 Kudos
460 Views
electropw
Contributor III
Hi Crasycat,
 
Your a genius, worth your weight in gold!!
 
It worked! Everything is back to normal.
 
Thank  you.
 
regards
 
Phil
 
0 Kudos