-
Notifications
You must be signed in to change notification settings - Fork 28.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
[Suggestion] [VSC-Web] HTTP request parameters interoperation #172736
Labels
Comments
I don't understand what the request is? |
Much similar to what mentioned in [ https://code.visualstudio.com/updates/v1_75#_profiles ]. Related: #116740 ---- If "the request" you mean is HTTP request: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Interpreting HTTP GET (provisionally also POST) parameters to enable certain interoperation:
E.g. "settings" expecting the settings JSON, applying which to modify current settings.
.
This should significantly improve the app's portability. [ Via "https://vscode.dev/?settings=${JSON}" alike. ]
Some similar but not as critical parameter suggestions:
/(?:title|text|file|diff)\d*/:
|*| If "\d" (the optional trailing number) doesn't exist: assume 0.
|*| The /\d+/ must be unique for each tab. (e.g. no "file0" and "text0" at the same time)
|*| "title", "text": Correspondingly set the new files' title and content (text). [1]
|*| "file": The URI of files [2] to open.
|*| "diff": Diff views comparing the tabs to open (identified by the unique /\d+/). Expected input: /\d+,\d+/ (comma separated numbers).
[1] When a "title" defined without corresponding "text": assume empty "text".
[2] Perhaps also internal tabs (e.g. "Settings" tab).
The text was updated successfully, but these errors were encountered: