donderdag 27 september 2007

Auto-Formatting in VS.NET 2005 does not work anymore

After a harddisk-crash, I had to reinstall Visual Studio.NET 2005.
As I started programming again after it was re-installed, I noticed that the 'auto-formatting' function of VS.NET didn't work anymore ...

This is very strange, and very annoying once you're used to it. I've verified my options, and they're set the way I want too.
The options:

  • Automatically format completed statement on;
  • Automatically format completed block on }

are enabled. However, when I type a ; or a }, the code is not being formatted at all...
When I use the shortcut 'Ctrl + E, D (format document)', my current document is formatted.

I've no idea why this doesn't work anymore. I've just made a fresh install of VS.NET.
Is there anybody who has experienced this 'annoyance' as well, and if so, how did you fix it ?
In other words: if there's anybody out there who knows how to fix it, please let me know. :)

2 opmerkingen:

Frederik Gheysels zei

I just saw that I haven't installed SP1 for VS.NET 2005 yet, so I did.
However, this did not solve the problem.

Damn, this is annoying.

Frederik Gheysels zei

Importing the VS.NET user settings of somebody else resolved the problem.