Thread overview | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
February 06, 2004 D syntax highlighting | ||||
---|---|---|---|---|
| ||||
is there any way to get Visual Studio to syntax highlight D code? ive seen it done with OpenGL shader files, so it must be possible for D. |
February 06, 2004 Re: D syntax highlighting | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | Yup. I use VS 98, and all you need is to add "d" to the FileExtensions value in the HKCU\Software\Microsoft\DevStudio\6.0\TextEditor\Tabs/Language Settings\C/C++ key. Don't forget to separate with a semicolon. "imr1984" <imr1984_member@pathlink.com> wrote in message news:c005lu$o8s$1@digitaldaemon.com... > is there any way to get Visual Studio to syntax highlight D code? ive seen it > done with OpenGL shader files, so it must be possible for D. > > |
February 06, 2004 Re: D syntax highlighting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | You dont use VC.net ? Just curious why , im thinking about upgrading but, im afraid everything written will break. C "Matthew" <matthew.hat@stlsoft.dot.org> wrote in message news:c0117m$27pq$3@digitaldaemon.com... > Yup. I use VS 98, and all you need is to add "d" to the FileExtensions value > in the > > HKCU\Software\Microsoft\DevStudio\6.0\TextEditor\Tabs/Language > Settings\C/C++ > > key. Don't forget to separate with a semicolon. > > > "imr1984" <imr1984_member@pathlink.com> wrote in message news:c005lu$o8s$1@digitaldaemon.com... > > is there any way to get Visual Studio to syntax highlight D code? ive seen > it > > done with OpenGL shader files, so it must be possible for D. > > > > > > |
February 06, 2004 Re: D syntax highlighting | ||||
---|---|---|---|---|
| ||||
Posted in reply to C | C wrote:
> You dont use VC.net ? Just curious why , im thinking about upgrading but,
> im afraid everything written will break.
If you have a lot of old nonstandard code then I'd worry, otherwise upgrade away. Aside from for loop conformance issues (which can be turned off) I haven't seen much legacy code that VC .NET freaks out on.
Sean
|
February 06, 2004 Re: D syntax highlighting | ||||
---|---|---|---|---|
| ||||
Posted in reply to C | I'm super efficient in VS98, and virtually never need to use the evil slow mouse. I've also got a slew of wizards, macros and plug-ins that make it even quicker. VC.NET is enormous, and incredibly slow, even on my 2GHz 512MB machine. Plus it seems that there are myriad things that mandate use of the mouse, so I can't see me making the swap. I use it for C# programming, but not for C++, makefiles, HTML, D, Java, Perl, Python, etc. Maybe if I got into the macros, and wrote some wizards it'd be easier? "C" <dont@respond.com> wrote in message news:c013e8$2blf$1@digitaldaemon.com... > You dont use VC.net ? Just curious why , im thinking about upgrading but, im afraid everything written will break. > > C > "Matthew" <matthew.hat@stlsoft.dot.org> wrote in message > news:c0117m$27pq$3@digitaldaemon.com... > > Yup. I use VS 98, and all you need is to add "d" to the FileExtensions > value > > in the > > > > HKCU\Software\Microsoft\DevStudio\6.0\TextEditor\Tabs/Language > > Settings\C/C++ > > > > key. Don't forget to separate with a semicolon. > > > > > > "imr1984" <imr1984_member@pathlink.com> wrote in message news:c005lu$o8s$1@digitaldaemon.com... > > > is there any way to get Visual Studio to syntax highlight D code? ive > seen > > it > > > done with OpenGL shader files, so it must be possible for D. > > > > > > > > > > > > |
February 06, 2004 Re: D syntax highlighting | ||||
---|---|---|---|---|
| ||||
Posted in reply to C | C wrote: >You dont use VC.net ? Just curious why , im thinking about upgrading but, >im afraid everything written will break. > >C > > There are a few small issues with VS6 C++ -> VC.net C++ that cause problems, but most are easily solvable. I did however have a few problems with the net "internal compilation errors", but I think most of them are fixed by now. -- -Anderson: http://badmama.com.au/~anderson/ |
February 07, 2004 Re: D syntax highlighting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | For VS C/C++ 7: HKLM\Software\Microsoft\VisualStudio\7.0\Languages\File Extensions Create a new key called ".d" set the (Default) REG_SZ to {B2F072B0-ABC1-11D0-9D62-00C04FD9DFD9} This should be the same value as for .c or .cpp "Matthew" <matthew.hat@stlsoft.dot.org> wrote in message news:c0117m$27pq$3@digitaldaemon.com... > Yup. I use VS 98, and all you need is to add "d" to the FileExtensions value > in the > > HKCU\Software\Microsoft\DevStudio\6.0\TextEditor\Tabs/Language > Settings\C/C++ > > key. Don't forget to separate with a semicolon. > > > "imr1984" <imr1984_member@pathlink.com> wrote in message news:c005lu$o8s$1@digitaldaemon.com... > > is there any way to get Visual Studio to syntax highlight D code? ive seen > it > > done with OpenGL shader files, so it must be possible for D. > > > > > > |
February 07, 2004 Re: D syntax highlighting + D specific keywords | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew Attachments: | Also for VS 7.0 to add D specific keywords, put the attached file in \Program Files\Microsoft Visual Studio .NET\Common7\IDE. the file must be named usertype.dat "Matthew" <matthew.hat@stlsoft.dot.org> wrote in message news:c0117m$27pq$3@digitaldaemon.com... > Yup. I use VS 98, and all you need is to add "d" to the FileExtensions value > in the > > HKCU\Software\Microsoft\DevStudio\6.0\TextEditor\Tabs/Language > Settings\C/C++ > > key. Don't forget to separate with a semicolon. > > > "imr1984" <imr1984_member@pathlink.com> wrote in message news:c005lu$o8s$1@digitaldaemon.com... > > is there any way to get Visual Studio to syntax highlight D code? ive seen > it > > done with OpenGL shader files, so it must be possible for D. > > > > > > |
February 07, 2004 Re: D syntax highlighting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | Matthew wrote:
>
> VC.NET is enormous, and incredibly slow, even on my 2GHz 512MB machine. Plus
> it seems that there are myriad things that mandate use of the mouse, so I
> can't see me making the swap. I use it for C# programming, but not for C++,
> makefiles, HTML, D, Java, Perl, Python, etc. Maybe if I got into the macros,
> and wrote some wizards it'd be easier?
VC .NET just takes some configuration. All that nice lookup stuff can be disabled, and there are still keystrokes for everything, they just changed a lot of them for some reason. Though one feature I thought I'd like (being able to collapse functions and other regions in a sort of tree format) I don't really like much in practice. It's still slower than the VC6 editor, but it's also more feature-rich. They finally added a "replace in files" option, among other things.
Sean
|
February 12, 2004 Re: D syntax highlighting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Kelly | "Sean Kelly" <sean@ffwd.cx> wrote in message news:c01lnp$bqd$1@digitaldaemon.com... > VC .NET just takes some configuration. All that nice lookup stuff can be disabled, and there are still keystrokes for everything, they just changed a lot of them for some reason. Though one feature I thought I'd like (being able to collapse functions and other regions in a sort of tree format) I don't really like much in practice. It's still slower than the VC6 editor, but it's also more feature-rich. They finally added a "replace in files" option, among other things. I just stumble along using wretched old microemacs <g>. |
Copyright © 1999-2021 by the D Language Foundation