在Visual Studio中的快捷方式缩进 [英] Indentation shortcuts in Visual Studio

查看:402
本文介绍了在Visual Studio中的快捷方式缩进的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Visual Studio 2010和C#。我怎么能缩进选定的文本正确使用快捷键左/?

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

在这里输入的形象描述

在Delphi的IDE等同为<大骨节病>控制 + <大骨节病>移 + <大骨节病> I 和<大骨节病>控制 + <大骨节病>移 + <大骨节病> U

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

推荐答案

<大骨节病>标签和<大骨节病>移 + <大骨节病>标签将这样做。

另一个很酷的技巧是按住<大骨节病> ALT 当您选择的文本,它可以让你做一个正方形的选择。与VS2010起,你就可以开始打字,它会与你键入的内容替换你方选择的内容。绝对真棒在一次改变了一堆行。

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.

这篇关于在Visual Studio中的快捷方式缩进的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆