Tips and Tricks for the Visual Studio .NET IDE
2006-08-10 16:56
651 查看
1. Record and play temporary macro
Ctrl+Shift+Rto record a new temporary macro. Press
Ctrl+Shift+Rto stop recording.
Ctrl+Shift+Pto play the recorded macro.
This works similar to *recording* in Vim. If you think you are going to be repeating a set of keyboard keys, then record them once and play them each time after.
2. Multiple copy/pastes
Ctrl+Shift+Vcycles through the clipboard ring. You can copy/cut multiple times from one area of code, then go to another area and paste them one after another.
3. Drag and drop code snippets
The Toolbox(Ctrl+Alt+X)window has multiple tabs. You can drag and drop code onto this window and copy it elsewhere. Some tabs do not allow dropping code into them; those that allow will have the appropriate icon. The General tab works for me.
4. Previous cursor positions
Ctrl+-i.e. Ctrl + Hyphen. This cycles you through the code positions you visited.
Ctrl+Shift+-to navigate in the opposite direction.
5. Incremental search
To incrementally search for text as you type, first pressCtrl+i. Then type the word you want to search. Hit backspace to clear a character and enter to finish. Pressing F3 after this will work as usual, i.e. search for the next occurrence of previous search.
Ctrl+i-
Ctrl+iworks like F3.
6. Matching brace/comment/region/quote
Ctrl+]takes you to the matching brace. It also takes you to the matching comment, region or quote depending on what is at the cursor now.
7. Vertical block selection
Press Alt and then select the area you want with your mouse.相关文章推荐
- Tips and Tricks for the Visual Studio .NET IDE
- Tips and Tricks for the Visual Studio .NET IDE
- 《Visual Studio.NET Tips and Tricks》第二章的翻译
- 《Visual Studio.NET Tips and Tricks》第三章的翻译
- 《Visual Studio.NET Tips and Tricks》一书的翻译
- 《Visual Studio.NET Tips and Tricks》目录
- Visual Studio .NET Tips and Tricks
- 《Visual Studio.NET Tips and Tricks》一书翻译下载
- Debugging Tips and Tricks for C++ in Visual Studio
- 《Visual Studio.NET Tips and Tricks》第一章的翻译
- 免费电子图书下载:Visual Studio .NET Tips and Tricks
- 《Visual Studio.NET Tips and Tricks》第四章的翻译
- 《Visual Studio.NET Tips and Tricks》第五章的翻译
- VS代码段扩展Snippet Designer is a Visual Studio plug in which allows you to create and search for snippets inside the IDE
- Some tips for using visual studio .net
- Some tips for ASP.NET Visual Studio 2003 project porting to Visual Studio 2005
- [MS POST]Visual Studio Tips and Tricks
- Visual Studio .NET Tip and Tricks书籍PDF版免费下载
- How to get Intellisense for Web.config and App.config in Visual Studio .NET?(转载)
- New patterns & practices for Visual Studio 2005 and .NET 2.0