Put a Mark in aspCode
This is a practical question, i wonder if its possible to put a mark in code to quickly refind the place.
So i'm working in the middle zone of a big ASP page (so debug dot isnt possible) and i have to get any information at the top of t开发者_开发百科he page.. It would be cool to put a mark to come back quicly at the first place..
Thanks to everyone.. (and sorry for my english)
CTRL-K, CTRL-K sets a bookmark at the current cursor line.
CTRL-K, CTRL-P - Previous Bookmark
CTRL-K, CTRL-N - Next Bookmark
Use BookMark.
VisualStudio 2008 -> Edit -> BookMarks -> Toggle BookMark (Ctrl+K, Ctrl +K)
You can navigate through bookmarks using Preivous (Ctrl+K,Ctrl+P) and Next(Ctrl+K, Ctrl+N)
Visual Studio has bookmarks you can add as markers in the text editors. Then navigate forward/backwards through them.
More details (this week) here: setting bookmarks, organizing bookmarks and navigating bookmarks.
If you're writing some new code and need to adjust some code located somewhere else, you can also the code you were writing, preferrable with an error (omitting the semicolon for example). This forces you to return to correct the code, plus you can doubleclick on the error in the error list to jump back to where you were.
精彩评论