F3 and Shift+F3 – Find Using Previous Search Term More details on incremental search can be found here. You can press the “Esc” key at any point to escape out of incremental search. Pressing “Ctrl + Shift + i” will reverse direction on the search, and allow us to skip backwards. We can then press “Ctrl + i” again to find the next usage of the same term (and continue this repeatedly): This will subtly change your cursor, and cause your status bar at the bottom left of the IDE to change to “Incremental search: (search term)” – you can then type the search term you are searching for and the editor will search for it from the current source location you are on (no dialog required).īelow we did an incremental search for the term “action” and VS highlighted the first usage it found within the file: To enable incremental search, just type “Ctrl + i” within the editor. This enables you to search within your current document, and enables you to do so without having to bring up a dialog. A surprisingly large number of developers, though, aren’t familiar with the “Incremental Search” capability within Visual Studio. Most developers using Visual Studio are familiar with the “Find dialog” that you can launch by pressing the “Ctrl + F” key within the IDE. They are all easy to learn, and can help save you a bunch of time. Hopefully this post will help you discover them if you aren’t already taking advantage of them. These tips were ones that my friend Scott Cate (who has blogged dozens of great VS tips and tricks here) recently recommended to me as good tips that most developers using Visual Studio don’t seem to know about (even though most have been in the product for awhile). Today’s blog post continues on from the Debugging Tips post I did last week, and covers some useful searching and navigation tips/tricks you can take advantage of within Visual Studio. This is the twenty-seventh in a series of blog posts I’m doing on the VS 2010 and.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |