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

Could we index in the cloud? #108

Open
davidanthoff opened this issue Mar 1, 2020 · 2 comments
Open

Could we index in the cloud? #108

davidanthoff opened this issue Mar 1, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@davidanthoff
Copy link
Member

Here is another idea for our indexing woes: could we create the cache files in the cloud for every known tagged package version in the registry, and then the extension would just download these precomputed files? Maybe this could even be integrated with the new package server stuff that is coming in some way.

This would require that the file format doesn’t use serialization so that it becomes Julia version independent. But that would in general be useful if we were to pursue the compiled LS idea.

Also, there seem two use cases:

  • user opens a file that is part of a package (say via goto definition) and we want to provide some level of code navigation, hover etc in that file. I think we should try to use LSIF for this scenario in some way.
  • user has a using Foo Statement in a file, and we need symbols, docs etc from Foo to provide features in the currently open file. I don’t think LSIF helps in that scenario, so we would probably need our own symbol file format for that.

In my ideal world these files maybe would even be just downloaded with the package itself via the package manager, so that the our extension can just rely on them being there. But that is probably something for a future iteration.

@davidanthoff davidanthoff added the enhancement New feature or request label Mar 1, 2020
@davidanthoff davidanthoff added this to the Backlog milestone Mar 1, 2020
@non-Jedi
Copy link
Member

non-Jedi commented Jun 1, 2020

Could you clarify the "LSIF" acronym please?

@davidanthoff
Copy link
Member Author

https://microsoft.github.io/language-server-protocol/specifications/lsif/0.5.0/specification/. I have to admit I don't understand what MS is up-to with that...

@davidanthoff davidanthoff removed this from the Backlog milestone Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants