QuietusPlus
6/28/2016 - 11:45 PM

Visual Studio Code - Portable launcher via a batch file. NOTE: Only works for user data, the extensions parameter has issues!

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"