-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Portable version! #329
Comments
There are portable versions of Code for every platform. Including Windows. |
I dont think we are portable until we allow to specify the directory where data should go (including extensions). Reopening. |
Indeed. This is a requirement for people like me, switching from laptop to desktop very often: entire workflow is on an external ssd drive, not relying on local machine storage. As with other portable apps, basically all data pertaining to the app (code, config, any extension)should reside in a single folder, and use relative folders so that that folder can be moved around and app starts up and operate the same. |
Another thing I noticed is that deleted items are moved to the Trash bin (on win 7). That's also not portable, as it means deleted items will be left on the current machine when moving to another one. |
Nice catch :) |
Thanks ;) Maybe you can have a look at #851. It's somehow related in that it deals where Code data is stored. Cheers |
Problems reported above still remain, but here is a portable download for Windows:
|
Any chance that the insider builds can be made available as a zip file as well? I tried this URL and got a 404: https://code.visualstudio.com/Docs/?dv=winzip&build=insiders |
FYI after #3068 you will be able to make vscode mostly portable by downloading the zip and using the |
Is there a way to get portable configs? In other words, get my badass conf'd VS Code at my work computer to my other computers without manually installing everything? |
@enjikaka there are a few issues related to that:
|
@Tyriar I think we are good, the extensions location can be set via |
Could somebody sum up all this in a readable fashion ? I downloaded the insider zip and tried to launch vs code with --user-data-dir without success (does not prompt anything) This is a must have for such a lightweight editor (as ST, it's going to sit in my dropbox ;) ) |
@RDeluxe have same issue |
@bpasero do you know if |
@Tyriar I am not sure who creates that folder, what are the contents? |
@bpasero nothing for all variants on my machine. Failing to create the directory might be the reason it's not working currently though. |
@ugurkoysuren that is why people are looking for much more "portable way" usage of VSCode. The only possibilities are for right now:
|
Hi, I just want to report here as I am forced to work under different profiles on
The solution is quite simple, but it took me some time and hazzle. The portable version should integrate this functionality out-of-the box in some way, to make VSCode more approachable. Thanks and appreciation for this great editor |
I tried a bit differently today. I called |
Maybe we could agree on a spec that might eventually lead to a PR. Other programs check on startup for the presence of settings files/dirs next to the executable, and if they exist, use those instead of AppData/whatever. So I'd propose: if a folder Or an alternative: just check for a Note this is Windows-specific. It's also a little different from I think the portable-apps way of having separate Thirdly I don't know how this would work with updates. Does the update process blow the whole vscode directory away? Does it touch the files in the userdata folder? Relevant: |
Three years have passed and MS has not yet supported portable version for VSC lol |
The same issue |
I believe as per some of the above comments, there are a couple cases where it still will end up dumping files in AppData with that setup. |
Would there be a way to address this on a Mac? |
Portable mode is on its way to Insiders with e43ab4e Early docs: https://github.com/Microsoft/vscode-docs/blob/vnext/docs/editor/portable.md |
How can I get it working
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: João Moreno <[email protected]>
Sent: Monday, June 18, 2018 1:07:43 PM
To: Microsoft/vscode
Cc: @odysseus1; Comment
Subject: Re: [Microsoft/vscode] Portable version! (#329)
Portable mode is on its way to Insiders with e43ab4e<e43ab4e>
Early docs: https://github.com/Microsoft/vscode-docs/blob/vnext/docs/editor/portable.md
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#329 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AcJ5B5UrxZpie5oVcEU6OI8P52MRSvdhks5t9-xvgaJpZM4GmQT9>.
|
Excellent. So now there will be true portability in VSCode. Which stable channel release/version is expected to carry these bits? |
It will come out in 1.25 (June's release). |
Is there documentation for migrating my existing installation to Portable Mode? I assume I would need to copy the contents of some folders and paste them into the new install path somewhere... I looked in the docs but found nothing. EDIT: I have found the description here in #53653 and will try it. |
My guess is copy the extensions and user-data folders to the new data folder. |
My instructions in #53653 should work. |
You can provide a portable version of it? Or to support the configuration file or plug-sync to the cloud;
Otherwise, each computer must be installed once, configured once. . It is a waste of time;
Thank you
The text was updated successfully, but these errors were encountered: