Skip to content

Instantly share code, notes, and snippets.

@QuietusPlus
Last active July 24, 2016 06:18
Show Gist options
  • Save QuietusPlus/e6793d8becdb52aa401f9b26b0be5753 to your computer and use it in GitHub Desktop.
Save QuietusPlus/e6793d8becdb52aa401f9b26b0be5753 to your computer and use it in GitHub Desktop.
Visual Studio Code - Portable launcher via a batch file. NOTE: Only works for user data, the extensions parameter has issues!
REM Please note that currently only user data is supported, meaning extensions
REM will not be portable! Visit the following address for more information:
REM
REM https://github.com/Microsoft/vscode/issues/329
REM
REM The mentioned --extensionHomePath="extensions" parameter does not work.
REM A possible alternative is to use the "Settings Sync" extension until a
REM proper implementation has been released.
REM
REM https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
REM
@TITLE Visual Studio Code (Portable)
START "" ".\Code.exe" --user-data-dir="userdata"
REM START "" ".\Code - Insiders.exe" --user-data-dir="userdata"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment