garethflowers / vscode-portable

Portable version of the Visual Studio Code editor.
https://garethflowers.dev/vscode-portable/
GNU General Public License v2.0
512 stars 71 forks source link

Instruction how to make VSCode portable #48

Closed anselal closed 6 years ago

anselal commented 6 years ago

Is there a way you could provide us with instructions on how you make VSCode portable ?

garethflowers commented 6 years ago

This project is just a wrapper for the VSCode and its existing command line arguments.

All that's needed to make VSCode portable is to define the user-data-dir and extensions-dir when you run it.

We do it here (in VSCodePortable.ini)... https://github.com/garethflowers/vscode-portable/blob/893d197a6d6a66c95548c56f11b70eadc7b888eb/VSCodePortable/App/AppInfo/Launcher/VSCodePortable.ini#L4

anselal commented 6 years ago

Thank you @garethflowers ,

I tried it and it works great so far !!!