VSIP: CTC Syntax Coloring
When you are developing a package pretty often you have to add a new command, modify or add a menu, toolbar, etc.
In order to do that you have to edit a CTC file that is really painfully because it is not a xml for example then you don't have any editor that help you.
Yesterday in then night I developed a language service for ctc files, then now I have syntax coloring for ctc files (Keywords, Flags, Packages, macros, strings, comments). Now I feel better editing CTC files :)
A CTC file looks like this
CTC with syntax coloring
Additionally you can change the default colors for CTC tokens in VS using the Tools/Options dialog
Installation:
- Download the binary files here CTCEditor
- Open Command Prompt
- If you have VSIP installed then:
"SET ENVSDK_REGKEY=7.1 " (if you have VSIP installed the current value
is 7.1exp)
"SET ENVSDK_ROOTSUFFIX= " (the default value is exp)
4. Extract the zip file and after register both dll in the previous command prompt session( regsvr32 <dll name> )
5. In the command prompt run Devenv /setup
Sources:
The editor was done using VSIPExtras in particular using the babel package.
You can download the sources here: CTCSource
For more info about CTC check ms-help://MS.VSCC.2003/MS.VSIP.2003/vsenvsdk/html/vsgrfCommandTableFormat.htm