1 registered members (SBGuy),
652
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Visual Studio 2005 - C-Script Syntax Highlight
[Re: Ichiro]
#73297
08/13/06 03:55
08/13/06 03:55
|
Joined: Aug 2003
Posts: 7,439 Red Dwarf
Michael_Schwarz
Senior Expert
|
Senior Expert
Joined: Aug 2003
Posts: 7,439
Red Dwarf
|
i think it would be very difficult, you'd have to "explain" VS that there are no more classes, namespaces, private/public/etc, just FUnctions... but I think, if I get some time in between all the stuff on my To-DO list, ill take a look at it.
Last edited by Michael_Schwarz; 08/13/06 03:56.
"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
|
|
|
Visual Studio 2005 - Syntax Highlighting (Hooray!)
[Re: Ichiro]
#73299
10/03/06 02:54
10/03/06 02:54
|
Joined: Aug 2002
Posts: 681 Massachusetts, USA
Ichiro
OP
User
|
OP
User
Joined: Aug 2002
Posts: 681
Massachusetts, USA
|
I didn't notice that anyone had posted replies; thanks. I looked further into this, and finally kicked VS2005 around enough to get it working. As Dusty said, it was a combination of registry key and usertype.dat. The steps are as follows: 1. Add a registry key: Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Languages\File Extensions\.wdl Value: "{B2F072B0-ABC1-11D0-9D62-00C04FD9DFD9}" 2. Add a blank text file called usertype.dat to "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE". 3. Populate usertype.dat with the latest C-Script keywords (one per line): Quote:
function starter action var
(etc.)
4. Profit!
YMMV. Use at your own risk. :)
|
|
|
Re: Visual Studio 2005 - Syntax Highlighting (Hoor
[Re: Ichiro]
#73304
10/04/06 18:29
10/04/06 18:29
|
Joined: Jun 2004
Posts: 2,234 Wisconsin USA
FoxHound
Expert
|
Expert
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
|
skills are done like this now
skills[100];
An array instead of 100 different vars. Much easier to use in code in my opinion.
--------------------- There is no signature here.
QUIT LOOKING FOR ONE!
|
|
|
|