Plug-in/add-in for code formatting for visual studio 2003?

Plug-in/add-in for code formatting for visual studio 2003?

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Plug-in/add-in for code formatting for visual studio 2003?

Post by PauloMorfeo »

Visual studio 2003 is killing me.
It kept changing

Code: Select all

if () {
}
to

Code: Select all

if ()
{
}
So i changed a config that says "leave open braces on same line as construct".
Now the problem is that the stupid bastard also changes the braces in methods and classes declarations and .. everywhere where it should not...
Also, the godam stupid bastard does not automagically closes curly braces...

(This IDE is the one used in this new company i'm in. Definetly not my choice.)

Does anyone knows a plug-in or add-in or a way to edit it's behaviour so i change it's traumas?
User avatar
Boirunner
Kernel Panic Co-Developer
Posts: 811
Joined: 05 Feb 2007, 14:24

Post by Boirunner »

Just use the indentation and bracketing style everyone else in your company uses, thus making life easier for all involved?

Also, I'm not sure this is the ideal place to ask this.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Which language?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I'd keep everything as:

class a{
function(){
}
}

Using the same bracket style everywhere. If everyone else is using

function()
{
}

Then your best doing the same.

Other than that, why 2003 and not 2005?
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Post by PauloMorfeo »

Yes, i know, not the best place. Anyway, thanks for the help.

Tobi:
Would which language change it?

AF:
Incredibly, VS 2005 does not works with .NET 1.1...
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Post by Licho »

Err .. it does..

And in VS2005 you can set it in the way you want (I'm using the style you described).
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Post by Licho »

You can also try sharp develop.
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Post by PauloMorfeo »

I mean, it can execute assemblies of 1.1 but, as soon as you open a project into 2005, it makes it use .NET 2.0.

And i read in the microsoft site that it does not, in fact, suport development with 1.1 (only using and debugging assemblies compiled in 1.1).
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Post by Licho »

Ahh yeah, I forgot.. project is reverted. But you can build executables for .net 1.1

Try sharp develop, it should be compatible with 1.1 projects.
Post Reply

Return to “General Discussion”