Visual Studio 2010 Formatting
Posted
by Rosarch
on Stack Overflow
See other posts from Stack Overflow
or by Rosarch
Published on 2010-01-31T02:16:50Z
Indexed on
2010/03/20
18:01 UTC
Read the original article
Hit count: 312
I have plenty of experience with Eclipse, and now I'm trying out Visual Studio 2010. I find its formatting somewhat counter-intuitive. Here are some things I'm trying to figure out:
Is there a way to select all text and format/indent it properly, like
SHIFT+A SHIFT+I
in Eclipse?Why is it that when I type a line like
if (n == 0) {
, as soon as I type the opening brace, the text cursor is moved to the beginning of the line? Is this some productivity speedup I'm failing to see?When I hit
ENTER
after the aforementioned line, I'd like the closing brace to be put in place automatically for me. How can I do this?
I've looked for hotkey documentation, and it's helped a bit, but this still feels clunky to me.
© Stack Overflow or respective owner