Indenter for VB.NET

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

Guest

I have been using VB 6.0 for a number of years. I also use the add-in Smart
Indenter to format my code. I have just switched to VB.NET. Is there a
similar functionality available for VB.NET?

Dan
 
Dan said:
I have been using VB 6.0 for a number of years. I also use the add-in Smart
Indenter to format my code. I have just switched to VB.NET. Is there a
similar functionality available for VB.NET?


It's called pretty listing. The feature is turned on by default. Just type
in your code and it will be formatted automatically.
 
Thank you!

Is there any way to set options for the way it indents? For example, I
prefer not to have four spaces per indent, but two or three. Is there a way
to specify this?

Dan
 
Try Tools/Options/Text Editor and then select either All Languages or just
the one you want. You'll see the settings there.
 

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