你最喜欢的Visual Studio快捷键是什么?我总是把我的手放在键盘上,远离鼠标!
请回答一个问题。
你最喜欢的Visual Studio快捷键是什么?我总是把我的手放在键盘上,远离鼠标!
请回答一个问题。
当前回答
Ctrl+-和Ctrl+Shift+-
Alt + D, P 将调试器附加到应用程序。 (任何你想要调试的应用程序的首字母,大多数时候都适用)
Ctrl + Shift + F
Ctrl+I(增量搜索)
其他回答
Ctrl+[(移动到对应的}) Ctrl+Shift+V(循环剪贴板)
我经常使用的一些方便的方法是:
Ctrl+J ->强制智能弹出。 Ctrl+Alt+L ->显示解决方案资源管理器。
Ctrl+K, Ctrl+D -格式化当前文档。
帮助我修复缩进和删除不需要的空格快速
格式的文档
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.
我最喜欢的:F12(去定义)和Shift+F12(找到参考资料)。 后者是有用的F8(转到下一个结果)。
Ctrl+-和Ctrl+Shift+-被映射到鼠标的后退和前进按钮。
Ctrl +。也很有用,特别是用于添加事件处理程序和“using”语句。