views:

37

answers:

4

Hi every one,

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 the 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)

+6  A: 

CTRL-K, CTRL-K sets a bookmark at the current cursor line.

CTRL-K, CTRL-P - Previous Bookmark

CTRL-K, CTRL-N - Next Bookmark

Mitch Wheat
So wonderful.. thanks a lot..
bAN
+2  A: 

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.

Richard
+3  A: 

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)

Sandy
+1  A: 

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.

Prutswonder
yes another possibility, but bookmarks is really smart tx
bAN