-
Notifications
You must be signed in to change notification settings - Fork 352
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
Figure out how to jump to files in zip/jar/.class files #36
Comments
This is the best we got until scalameta#36 gets fixed. I had to adapt the implementation to accommodate the new URI based indexing scheme.
It seems eclipse.jdt.ls returns URIs with the In editors like vscode it's possible to register a text content provider for a particular URI scheme, we use this in metadoc scalameta.org/metadoc/ for "semanticdb". But this functionality is not part of |
I'm going to check how it works in Atom with the Java LSP plugin. |
You mean LSP? |
Yes @gabro ! I meant LSP. |
Related: atom/ide-java#42. It just doesn't work now in Atom. |
We can have different implementations to handle sources in the classpath depending on the capabilities of the editor. The fallback implementation can use the current hack we have in master. |
Crosslinking, so that you can vote it up: microsoft/language-server-protocol#335 |
Seems like the relevant part of the vscode api is https://code.visualstudio.com/docs/extensionAPI/vscode-api#workspace.registerTextDocumentContentProvider where we can register a provider for the "semanticdb" URI scheme. |
VS Code 1.25.0 had updates on "Readonly file system provider" https://code.visualstudio.com/updates/v1_25#_readonly-file-system-provider |
Fixed in #337. I ended up with writing to files on disk instead of the text content provider system in VS Code with the reasoning being that files work with all clients, not only VS Code. I actually got the VS Code text content provider working but that opened a can of worms by having to handle Files are written in the |
See comment from @gabro https://github.com/scalameta/language-server/pull/23/files#r150784897
The text was updated successfully, but these errors were encountered: