How does the IDDE know which words to syntax highlight? Can I add my own words to this list?
The IDDE references the .INI files in the ~\VisualDSP\System\ directory to know what needs highlighting.
For example, to add a new keyword in SHARC assembly files, edit SHARCASM.INI with the keyword and specify how it should be highlighted (for example, as a preprocessor macro, register, mnemonic, etc.)
This FAQ was generated from the following thread: How does the IDDE know which words to syntax highlight? Can I add my own words to this list?
If I understand you correctly, there is a way to add your own 'type' of keyword, with it's own colors, etc, separate from the rest of the predefined keywords. If you take the Blackfincc.ini file as an…
Unfortunately, the 'Settings:Preferences:Editor' options do not recognise any customizations made in the *.ini files, however the editor itself will recognize these changes and color any keywords…
Thank you very much for your quick answer.
Now it's much clearer and I was able to edit the *.ini file and add my custom keywords.
I hope that in a future update VisualDSP++ will have some improvements for this feature
Unfortunately, the 'Settings:Preferences:Editor' options do not recognise any customizations made in the *.ini files, however the editor itself will recognize these changes and color any keywords you have listed in the [Keywords] section of the *.ini file.
At present, customizations for you coloring can only be done my manually configuring them in the *.ini file.
Unfortunately I haven't been able to have your suggestion working.
Could you give me some additional informations?
Thanks -- works great -- We had tried this approach many years ago and never got it to work -- meaning the editor never recognized the custom group. We put in a bug request and were told that would be in "some future VDSP Release". We found other workarounds -- but this one is easiest, and just in time to configure the systems before 2009 Fall school starts. Looks like the future is now. :-)
One comment -- I received an email saying changes to FAQ had occurred, but when I went to my own profile and "My stuff" I could not see either my initial response to the FAQ nor your changes. I had to go back to the email and get to this location from there rather than from the site -- basically I had forgotten that it was an FAQ rather than DISCUSSION. I don't know if not posting the FAQ activity is intentional or whether I just was not hitting the correct buttons in the interface
Great, I'm glad that's all working for you in time for the new school term. I will private message you regarding the content of the 'My Stuff' tab.