Skip to content
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

Closed
MasterInQuestion opened this issue Jan 29, 2023 · 2 comments
Closed

[Suggestion] [VSC-Web] HTTP request parameters interoperation #172736

MasterInQuestion opened this issue Jan 29, 2023 · 2 comments
Assignees

Comments

@MasterInQuestion
Copy link

    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).

@Tyriar
Copy link
Member

Tyriar commented Feb 7, 2023

I don't understand what the request is?

@MasterInQuestion
Copy link
Author

MasterInQuestion commented Feb 14, 2023

    Much similar to what mentioned in [ https://code.visualstudio.com/updates/v1_75#_profiles ].
    But more effective and reliable (for VSC-Web).

    Related: #116740

    ----

    If "the request" you mean is HTTP request:
    In simple words, most web requests are HTTP requests: for example, accessing the VSC-Web through [ https://vscode.dev/ ].

@github-actions github-actions bot locked and limited conversation to collaborators Mar 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants