Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 23rd, 2004, 7:42 PM   #1
Ravilj
Programmer
 
Ravilj's Avatar
 
Join Date: Sep 2004
Location: JHB , South Africa
Posts: 79
Rep Power: 5 Ravilj is on a distinguished road
For those who would like their own types and such to be highlighted in Microsoft Visual Studio .NET 2003 do the following.

1. Create "usertype.dat" in notepad in "\Microsoft Visual Studio .NET 2003\common7\IDE" directory

2. Add the keywords for highlighting with each on a new line.

I use it for the openGL types, it just makes things easier to see.

Quote:
Originally posted by usertype.dat
GLvoid
GLfloat
GLint
GLuint
GLboolean
GLdouble
GLenum
GLbitfield
GLbyte
GLshort
GLsizei
GLubyte
GLushort
GLclampf
GLclampd
__________________
Ravilj's OpenGL Terrain aka WinTerrain Last Updated: 17/01/2005!
Ravilj is offline   Reply With Quote
Old Dec 23rd, 2004, 7:49 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Thank you... never knew that. I think I'll add the Windows types to it first off, then see where I go from there.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Dec 23rd, 2004, 8:11 PM   #3
Ravilj
Programmer
 
Ravilj's Avatar
 
Join Date: Sep 2004
Location: JHB , South Africa
Posts: 79
Rep Power: 5 Ravilj is on a distinguished road
I still need to get round to that... Ooble if you do wont you be kind and attach it or copy and paste it please?
__________________
Ravilj's OpenGL Terrain aka WinTerrain Last Updated: 17/01/2005!
Ravilj is offline   Reply With Quote
Old Dec 23rd, 2004, 11:39 PM   #4
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
Or... you could just mosey on over to http://www.wholetomatoe.com and purchase Visual Assist, a really sweet ppiece of software which offers many enhancements to MSVS's source code completion and highlighting.
__________________
Clifford Matthew Roche <geek@cliffordroche.com>
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote
Old Dec 24th, 2004, 4:39 AM   #5
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Meh. I'm too lazy (and too poor) to buy and set up something like that. This is slightly easier.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:01 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC