?
Solved

Change default syntax in Visual Studio .Net

Posted on 2012-09-01
2
Medium Priority
?
972 Views
Last Modified: 2012-09-05
Visual Studio .Net likes to have it this way:
private class MyClass
{
.. doStuffHere ..
}

Open in new window


I hate that syntax. I like it this way:
private class MyClass {
.. doStuffHere ..
}

Open in new window


Why on earth does Microsoft want to force me to have extra lines in my code? Can I change this behaviour in Visual Studio .Net?
0
Comment
Question by:itnifl
2 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 1560 total points
ID: 38357060
Tools...Options...Text Editor...C#.

Play in there, you will be able to do almost anything you want. If nothing pleases you, simply deactivate formatting options.
0
 
LVL 2

Author Closing Comment

by:itnifl
ID: 38369089
Thanks... really
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Progress

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question