Autoformatting Code in C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to turn on autoformatting in C# like the default ni VB? Like to create auto indents and to put spaces around equal signs?
 
Hi Shawn,

In Visual Studio.Net Go to the Tools menu and select Options.
Open the Text Editor Folder, then the C# folder and select the General,
Tabs or Formatting options.
Indenting would be in the tabs options. Not sure if you can auto add
spaces around equal signs.

Happy coding!
Morten Wennevik [C# MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top