pabloide86
pabloide86

Reputation: 946

Visual Studio 2008/2010 Code Bookmarks Backup

How can I backup my code bookmarks? (Visual Studio 2008/2010) I would like to share them with my team...

Upvotes: 8

Views: 2457

Answers (2)

Piotr Karczmarz
Piotr Karczmarz

Reputation: 92

Old question but it also applies to any other Visual Studio version. ContextKeeper extension will do the job. Supports Visual Studio 2022 and 2019/2017/2015/2013. I'm the author.

It's an extension to quickly save and restore sets of document tabs and its metadata. The "session", similar to Vim's :mksession command, is defined as:

  • bookmarks & breakpoints
  • last opened/favorites files
  • documents (tabs with code) positions, state and order
  • tabs groups (including horizontal/vertical orientation)
  • remembers line&column for every opened tab

It also has a powerful git integration - automatically saves and restores context when switching between branches.

All contexts are saved to simple JSON files and use relative paths to enable sharing them inside your team.

Upvotes: 2

Leom Burke
Leom Burke

Reputation: 8271

Bookmarks are stored in your .suo file and as such are designed to be user specific. The suo is hidden by default for a reason :-). It is also not plain text so cant simply be read in notepad or even notepad++.

EDIT

If you need to share locations in the code can you not create a custom token for the task list and use comments instead - this is a bit of a fudge and not the intended use for the task list but it would work.

Upvotes: 3

Related Questions