Visual Studio(2005-2010)的隐藏功能? [英] Hidden Features of Visual Studio (2005-2010)?
问题描述
Visual Studio是一款如此庞大的产品,即使经过多年的使用,我有时还是会偶然发现一种新的,更好的方式来做事情或什至是我所不知道的事情.
Visual Studio is such a massively big product that even after years of working with it I sometimes stumble upon a new/better way to do things or things I didn't even know were possible.
例如-
-
Crtl + R , Ctrl + W 显示空白.编辑Python构建脚本必不可少.
Crtl + R, Ctrl + W to show white spaces. Essential for editing Python build scripts.
在"HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Text Editor"
下
创建一个名为 Guides 的字符串,其值"RGB(255,0,0),80"在文本编辑器的第80列有一条红线.
Under "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Text Editor"
Create a String called Guides with the value "RGB(255,0,0), 80" to have a red line at column 80 in the text editor.
您还偶然发现了哪些其他隐藏功能?
What other hidden features have you stumbled upon?
推荐答案
单击标识符(类名,变量等),然后在 F12 中单击转到定义".我总是惊讶于有多少人看着我的代码使用较慢的右键单击->转到定义"方法.
Click an identifier (class name, variable, etc) then hit F12 for "Go To Definition". I'm always amazed how many people I watch code use the slower right-click -> "Go To Definition" method.
编辑:然后您可以使用 Ctrl + -跳回原来的位置.
Then you can use Ctrl+- to jump back to where you were.
这篇关于Visual Studio(2005-2010)的隐藏功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!