你最喜欢的Visual Studio快捷键是什么?我总是把我的手放在键盘上,远离鼠标!
请回答一个问题。
你最喜欢的Visual Studio快捷键是什么?我总是把我的手放在键盘上,远离鼠标!
请回答一个问题。
当前回答
展开智能标签(解析菜单):Ctrl +。(期)
展开标签,在执行重命名标识符等操作时显示该标签。
其他回答
组合Ctrl+F3和Ctrl+Shift+F3查找选中的和以前选中的项目非常适合我。
不使用鼠标打开文件:
CTRL + ALT + A(打开命令窗口) 后面跟着>打开somedoc
我还没看到这个。真不敢相信这里有这么多酷的快捷方式!
人们提到过Ctrl+C和Ctrl+V在没有被选择的情况下粘贴一行,但我使用Ctrl+X定期移动代码行。
Ctrl + Shift + Alt + B 重建方案。
Ctrl + R, Ctrl + T 调试当前上下文中的测试
格式的文档
Ctrl+K, Ctrl+D
On an aspx page, this takes care of properly indenting all of your markup and ensures that everything is XHTML compliant (adds quotes to attributes, corrects capitalization, closes self-closing tags). I find that this makes it much easier to find mismatched tags and to make sure that my markup makes sense. If you don't like how it's indenting, you can control which tags go on their own line and how much space they get around them under Tools/Options/Text Editor/HTML/Format/Tag Specific Options. In your C# or VB code, this will correct any capitalization or formatting issues that didn't get caught automatically. For CSS files, you can choose compact (one definition per line), semi-expanded, or expanded (each rule on its own line); and you can choose how it handles capitalization.