You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VSCode Portable: Distinguish between different machines when restoring session on startup #81340
I was trying to use VSCode Portable on two different Mac machines. An issue I ran into is VSCode's attempt at opening the last open files / windows in the last session when launching the app. I don't have the exact same files on both machines, and would actually just prefer that VSCode portable would distinguish between the two machines and save a set of open windows / files on for each machine.
As a result, when I open VSCode on machine 1, it attempts to open some files that are not present on that machine, which in turn makes VSCode not attempt to open those files when launching on machine 2, which do have the files.
Alternatively I have to maintain two portable versions of VSCode: VSCode-iMac and VSCode-MacbookPro. Currently this is the only feasible option if I want to use portable, but it doubles the disk space usage. Duplicating the app is particularly cumbersome with VSCode because it's a an app that has ~10^4-10^5 files, many more than a typical app. Most of the files are very small, yes, but the sheer amount of files being changed frequently makes VSCode Portable very sync-heavy. All of this is to say, I'd prefer not to have two copies of VSCode for that reason, but I'd still prefer to use portable mode for other reasons (e.g. no need to install on fresh systems + ability to use on system without admin access).
The best would be the ability to group machines together "these two machines are work, these two are personal", allowing the use of one single portable installation for many machines, some sharing the same purpose and set of available projects/files, but otherwise sharing the same extensions and setup by virtue of being one portable installation.
changed the title [-]VSCode Portable: Distinguish between different machines on open documents.[/-][+]VSCode Portable: Distinguish between different machines when restoring session (open projects/files) on startup[/+]on Sep 23, 2019
changed the title [-]VSCode Portable: Distinguish between different machines when restoring session (open projects/files) on startup[/-][+]VSCode Portable: Distinguish between different machines when restoring session on startup[/+]on Sep 23, 2019
This is a good feature request. Pinging Benjamin Pasero (@bpasero) in case he has an idea of how this can be done today without implementing something special.
Personally I'd probably prefer having multiple portable installations rather than disabling restoring sessions altogether. It's really nice not having to open all the things you need after a machine restart.
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Activity
[-]VSCode Portable: Distinguish between different machines on open documents.[/-][+]VSCode Portable: Distinguish between different machines when restoring session (open projects/files) on startup[/+][-]VSCode Portable: Distinguish between different machines when restoring session (open projects/files) on startup[/-][+]VSCode Portable: Distinguish between different machines when restoring session on startup[/+]joaomoreno commentedon Sep 24, 2019
This is a good feature request. Pinging Benjamin Pasero (@bpasero) in case he has an idea of how this can be done today without implementing something special.
bpasero commentedon Sep 24, 2019
Currently not, but a setting to disable restoring of editors altogether might help. I think such feature request exists.
gandalfsaxe commentedon Sep 24, 2019
Personally I'd probably prefer having multiple portable installations rather than disabling restoring sessions altogether. It's really nice not having to open all the things you need after a machine restart.
vscodebot commentedon Jan 15, 2020
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
vscodebot commentedon Mar 6, 2020
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding
vscodebot commentedon Mar 16, 2020
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!