Change default syntax in Visual Studio .Net

Posted on 2012-09-01
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

    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.
    LVL 2

    Author Closing Comment

    Thanks... really

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
    Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
    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 …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now