Skip to content

VSCode Portable: Distinguish between different machines when restoring session on startup #81340

Closed

Description

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.

Activity

  1. 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
  2. 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
  3. added
    feature-request
    portable-mode
    on Sep 24, 2019
  4. joaomoreno commented on Sep 24, 2019

    @joaomoreno
    Contributor

    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.

  5. bpasero commented on Sep 24, 2019

    @bpasero
    Contributor

    Currently not, but a setting to disable restoring of editors altogether might help. I think such feature request exists.

  6. gandalfsaxe commented on Sep 24, 2019

    @gandalfsaxe
    Author

    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.

  7. vscodebot commented on Jan 15, 2020

    @vscodebot

    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!

  8. vscodebot commented on Mar 6, 2020

    @vscodebot

    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

  9. vscodebot commented on Mar 16, 2020

    @vscodebot

    🙁 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!

  10. locked and limited conversation to collaborators on May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestportable-mode

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions