Change default syntax in Visual Studio .Net

Posted on 2012-09-01
Medium Priority
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?
Question by:itnifl
LVL 40

Accepted Solution

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.

Author Closing Comment

ID: 38369089
Thanks... really

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 …

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