Tab doesn't indent blocks of text

  • Thread starter Thread starter Rob Richardson
  • Start date Start date
R

Rob Richardson

Greetings!

I have just begun to use VB.Net at work for the first time, and I have
noticed an extremely irritating problem with my IDE setup. If I highlight a
block of text and press the tab key, nothing happens except that the
highlighting is cleared! In all other Microsoft IDEs I've used, the tab key
will indent a block of text and shift-tab will outdent a block of text. It
works that way with my home installation of VB.Net also!

I presume I've got some setting in Tools/Options that is not set the way I
want it, but I didn't see anything obvious. What setting do I have to tweak
to get the tab key to behave the way I want?

Thanks very much!

Rob Richardson
 
Rob,

You can look at the options there are a lot of styles to set one of them old
Visual.Studio style.

(However I did not)

Cor
 
Cor,

Thanks for your reply. I tried setting the keyboard to the old Visual
Studio style, but it didn't change things.

I did find where the problem was: Under Tools/Options/Text Editor/Basic/VB
Specific, I had "Pretty listing (reformatting of code)" checked. When I
unchecked it, things worked as expected. Yet another example of Microsoft
thinking it knows what I need better than I do, and not bothering to tell me
when it's making choices for me!

Rob
 
You might try leaving the indenting in automatic mode. It
does a very good job of indenting everything just the way
I like. I find it much easier than handling the indenting
myself.
 

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