-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
API: Edit session identifier provider #157734
Comments
@TylerLeonhardt also proposed that we could use this API to disambiguate repositories cloned across different machines, so that a user would only have to trust a given repository once across all their clones of the same repo. |
@jrieken @bpasero and I chatted about this API proposal today since we ran out of time during the usual API call. The major feedback was:
Please feel free to edit if I missed anything! |
Problem
There is currently support for Continue Working On with Edit Sessions from web to Codespaces, desktop to vscode.dev, desktop to Codespaces. This works by propagating an edit session identifier (a guid) through query parameters and passing it into the workbench creation options.
We would now also like to have Edit Sessions support for Continue Working On from web to desktop, desktop to desktop, etc. This would allow us to have full feature parity with the existing Continue Working On experience, as well as the ability to bring uncommitted changes with you. The following existing scenarios are to be supported:
To do this we have a few options:
vscode.openFolder
command args (desktop -> desktop)Proposal
Reference implementation: #157733
Here are some examples of the actual structure of data that we'd put into the returned workspace identifier:
For https://github.dev/microsoft/vscode, https://vscode.dev/github/microsoft/vscode, as well as clones of https://github.com/microsoft/vscode:
For https://vscode.dev/azurerepos/monacotools/Monaco/Monaco?path=%2F&version=GBmaster and clones of https://dev.azure.com/monacotools/_git/Monaco?path=%2F&version=GBmaster:
The text was updated successfully, but these errors were encountered: