Indentation shortcuts in Visual Studio Ask Question

Indentation shortcuts in Visual Studio Ask Question

I'm using Visual Studio 2010 and C#. How can I indent the selected text to left/right by using shortcuts?

ここに画像の説明を入力してください

In the Delphi IDE the equivalents are Ctrl+Shift+I and Ctrl+Shift+U

ベストアンサー1

Tab and Shift+Tab will do that.

Another cool trick is holding down ALT when you select text, it will allow you to make a square selection. Starting with VS2010, you can start typing and it will replace the contents of your square selection with what you type. Absolutely awesome for changing a bunch of lines at once.

おすすめ記事