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

Should the client announce the schema it supports in URI's #335

Open
dbaeumer opened this issue Nov 16, 2017 · 4 comments
Open

Should the client announce the schema it supports in URI's #335

dbaeumer opened this issue Nov 16, 2017 · 4 comments
Labels
document feature-request Request for new features or functionality initialization
Milestone

Comments

@dbaeumer
Copy link
Member

Server are allowed to send URI back which might not have a file or other well known schema. These URI's might not be handled correctly by the client.

Should the client announce it's handled schemas to the server and inform the server about any schema handler changes?

@david-driscoll
Copy link

I was just thinking about the same thing and made an initial proposal at #336, however it still needs the proposal implementation.

@dbaeumer
Copy link
Member Author

@david-driscoll thanks for #336.

The issue is about whether the client should announce which schemas it supports. They maust not necessarily be surfaced by the server but with our proposal could.

@laughedelic
Copy link
Contributor

Related issue: atom/ide-java#42

Some other language servers (e.g. ENSIME and Scalameta) use this workaround too: create a temporary file with the content of that URI and redirect to it.

It would be nice if the client could declare that it can handle given URI schema, so that the server can decide whether to use a workaround or send the true URI.

@rchl
Copy link
Contributor

rchl commented Dec 8, 2021

Assuming that the client would announce support for the zip: scheme, for example, how could there be a guarantee that all editors handle that schema in the same way? I don't think there is any specification on how to handle a zip: scheme specifically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
document feature-request Request for new features or functionality initialization
Projects
None yet
Development

No branches or pull requests

4 participants