LanguageServer.jl
LanguageServer.jl copied to clipboard
Autocomplete of methods for given variables
Fixes #979.
For every PR, please check the following:
- [ ] End-user documentation check. If this PR requires end-user documentation in the Julia VS Code extension docs, please add that at https://github.com/julia-vscode/docs.
- [ ] Changelog mention. If this PR should be mentioned in the CHANGELOG for the Julia VS Code extension, please open a PR against https://github.com/julia-vscode/julia-vscode/blob/master/CHANGELOG.md with those changes.
The initial version is working. Up to now, it has autocomplete for functions available from the SymbolServer that have methods that exactly match the type of a single first argument. Next steps should be to support
- [ ] User-defined functions in outside SymbolServer database (current scope / Main)
- [ ] Matching functions with multiple arguments
@pfitzseb could you have a look if the general idea and functionality is OK? I won't have much time in the coming days to continue, but maybe this may serve as a basis for further work. Do you think one could merge also such a "minimal version" in case the other features are much harder to realize?