Search public documentation:
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\AddInsdirectory (or wherever your installation is). Then go to the
Tools | Customize...menu. Choose the
Add-ins and Macrostab. Enable the add-in entitled
UWHighlighting.DSAddIn.1. Step 2: Adding usertype.dat to MSDev Place the usertype.dat file in the
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bindirectory. Step 3: Seeing it in action Restart Visual Studio. Open your favorite UC file and see the Unreal keywords appear in blue (or whatever you have them set to). Adding keywords To add a missing keyword, simply edit the usertype.dat file and place the missing keyword on its own line. For instance:
native ... missingKeywordRemember to restart Visual Studio to see the new keyword, and please consider updating the file here with your new version (just make a note here in the doc of what you added)!
usertype.datfile is still useful though. Step 1. Run Regedit Type
regeditin the Run window or from a command line. Step 2. Find the tag
HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\Text Editor\Tabs/Language Settings\C/C++\FileExtensionsStep 3. Add ;uc to the end of the tag So the Value data should look something like this:
cpp;cxx;c;h;hxx;hpp;inl;tlh;tli;rc;rc2;ucUltraEdit is a pretty inexpensive and decent text editor for windows, from http://www.ultraedit.com It reminds some of Visual Slick Edit, but without the crazy pricetag. :) A UnrealScriptUltraeditWords.txt words file for UltraEdit (version 10) has been attached. To use it simply append it to your existing wordsfile.txt in the directory UltraEdit was installed to. This wordsfile uses language #20 like all the downloadable words files from the UltraEdit web site, so you might have to give it a new language number by editing the first few characters of this file and changing the /L20 into /L13 or some other unused number. You will need to also edit the settings under Advanced/Configuration/FileTypes and add UnrealScript Files(*.uc) to it. You should probably customize the colors under the Syntax Highlighting tab, as the words file includes more categories than the normal scheme handles well (some colors are duplicated like red if you don't customize them).