Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging existing preferences and extensions to portable #1718

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/editor/portable.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ From then on, that folder will be used to contain all Code data, including sessi

The `data` folder can be moved to other VS Code installations. This is useful for updating your portable Code version: simply move the `data` folder to a newer extracted version of VS Code.

#### Merging your existing preferences and extensions to portable

If you have an existing - non portable - installation of VS Code and you want to get your preferences and extensions portable:
* create data folder (see above)
* start code --> at first start subdirectories "extensions" and "user-data" are created under data
* copy your "old" extensions from "<userHome>\.vscode\extensions\" to "data\extensions"
* copy your user data from "<userHome>\AppData\Roaming\Code\" to "data\user-data"


### macOS

On **macOS**, you need to place the data folder as a sibling of the application itself. Since the folder will be alongside the application, you need to name it specifically so that Code can find it. The default folder name is `code-portable-data`:
Expand Down