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

Attach to non-files #1739

Closed
rwols opened this issue Jun 10, 2021 · 1 comment · Fixed by #1758
Closed

Attach to non-files #1739

rwols opened this issue Jun 10, 2021 · 1 comment · Fixed by #1758

Comments

@rwols
Copy link
Member

rwols commented Jun 10, 2021

Is your feature request related to a problem? Please describe.
I would like to see language servers attached to views without filenames.

Describe the solution you'd like
Attach to any view whose base scope matches the selector.

Additional context
Motivated by new views created ad-hoc with CTRL+N.
And motivated by language servers that understand a custom scheme like deno: or json-schema:.
One problem is that we should probably first listen for setting changes in the view to keep an eye on the current syntax.

@rwols
Copy link
Member Author

rwols commented Jun 13, 2021

Also, some external packages like Debugger would need to know the URI of a view as well, so it would probably have to go into the settings object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant