Download the usertype.dat file (at the bottom of this document)
and copy it to the same directory as msdev.exe
(Visual Studio editor) (By default this will be
c:\program files\microsoft visual studio\common\msdev98\bin). This file contains all the C# keywords

Downloads

About the Author

Tom Archer - MSFT

I am a Program Manager and Content Strategist for the Microsoft MSDN Online team managing the Windows Vista and Visual C++ developer centers.
Before being employed at Microsoft, I was awarded MVP status for the Visual C++ product. A 20+ year veteran of programming with various languages - C++, C, Assembler, RPG III/400, PL/I, etc. - I've also written many technical books (Inside C#, Extending MFC Applications with the .NET Framework, Visual C++.NET Bible, etc.) and 100+ online articles.

Just stop VS .net, name the above file java.reg or something and double click on it, then start VS .net.

Use the usertype.dat fix to add java keywords for highlighting. Now you will be able to autoformat and syntax highlight .java files. The only drawback is that C files will also be highlighted with java keywords, but that's a small price to pay.

Top White Papers and Webcasts

The software-defined data center (SDDC) and new trends in cloud and virtualization bring increased agility, automation, and intelligent services and management to all areas of the data center. Businesses can now more easily manage the entire lifecycle of their applications and services via the SDDC. This Aberdeen analyst report examines how a strong foundation in both the cloud and internal data centers is empowering organizations to fully leverage their IT infrastructure and is also preparing them to be able …

Chuze Fitness is a fast-growing fitness chain with over 21 locations spanning California, Arizona and Colorado.
Chief information and marketing officer, Kris Peterson, explains why access to fast and reliable Wi-Fi is a "must have" service at their gyms and why they switched to Ruckus Cloud Wi-Fi.
Chuze Fitness needed to provide a good user experience to the hundreds of guests streaming music, podcasts and videos as they worked out. They also needed to adequately cover their sprawling 20-40,000 square foot …