Reputation: 2393
Is there a short cut to go to certain lines? I know I can do ctrl-G then enter line. But I want to go back and forth between line 350 and line 788 quickly and easily. easier than ctr G line. is there a trick to create the short cuts?
Upvotes: 0
Views: 83
Reputation: 337
You can also split the window so you can see both lines at the same time. Click on the window menu then click split. View line 350 in the top and 788 in the bottom.
Upvotes: 1
Reputation: 8147
You can use Bookmarks within all versions of Visual Studio:
Create a bookmark (on the current line): Control+K, Control+K
Jump to next bookmark: Control+K, Control+N
Upvotes: 1
Reputation: 170
You can create bookmarks with Ctrl-K+Ctrl+K and then navigate between those bookmarks using Ctrl+K+Ctrl+N (next bookmark) and Ctrl+K+Ctrl+P (previous).
Upvotes: 3