VS2008 automatically saves bookmarks and restores them when I reopen the document. How can I tell it to stop saving them. When I open a doc, I want it without any bookmark, as in previous versions of VS.
I went twice through the whole options set but couldn’t find anything related to bookmarks.
TIA.
You should be able to write a macro that handles the
DocumentEventsorWindowEventsevent interfaces.In response to (e.g.)
DocumentEvents_OnDocumentOpened, which gets aDocumentobject, you should be able to remove all of the bookmarks.Or, if bookmarks are relative to a window, you might need to handle
WindowEvents_OnWindowCreated.The documentation claims that these are for Microsoft internal use only, but it says the same for
BuildEvents, and I’ve been using those successfully since VS2003.