Visual Studio Development Bookmark and Share   
 index > Visual Studio Extensibility > Export Visual Studio 2008 Bookmarks
 

Export Visual Studio 2008 Bookmarks


I'm interested in exporting the items in the Bookmarks window to a set of files.  Basically, each folder would become a file.  Each bookmark inside the folder would be added to a list formatted as file, line number, bookmark name.

My first question, is there an API that I can use to read this information from the .suo file?

My next question, is there a way to add a new button to the Bookmarks window to run the code to do the export?

Any help would be appreciated!
ejohn20  Thursday, October 08, 2009 10:28 PM
Hi, ejohn
There must be some APIs for reading the .suo file, and it is the IVsPersistSolutionOpts interface which is implemented inside the BookMarks VSpackage. But Microsoft doesn't expose its members(the implementation of LoadUserOptions, ReadUserOptions method) for us to invoke. So we are not able to get the book marks information.
And we also not able to add the button to the Bookmarks window, the reason is also lack of the corresponding features.
It is really a pity, sorry for that.
Chao
Chao Kuo  Monday, October 12, 2009 8:24 AM
Hi, ejohn
There must be some APIs for reading the .suo file, and it is the IVsPersistSolutionOpts interface which is implemented inside the BookMarks VSpackage. But Microsoft doesn't expose its members(the implementation of LoadUserOptions, ReadUserOptions method) for us to invoke. So we are not able to get the book marks information.
And we also not able to add the button to the Bookmarks window, the reason is also lack of the corresponding features.
It is really a pity, sorry for that.
Chao
Chao Kuo  Monday, October 12, 2009 8:24 AM

You can use google to search for other answers

Custom Search

More Threads

• Visual Studio.NET 2005 c#: class library how to use it in a project?
• How can you dynamically hide/unhide properties based on the value of another property
• Interaction with the Device Emulator via COM interfaces
• Hide menu items on Project context menu
• Controlling databases from Access
• EnvDTE/VsLangProj: Visual Studio 2008 SilverlightApplicationList Property Availability (Quick Question -- Please Look)
• Best Practice: Complex Visualizer Deployment, Debugging.
• DSL Tools - is there an artifact update event?
• WPF Designer: Building a custom designer on top of Cider framework in VS2008 integration package.
• Monitoring changes in the properties window?