expert-lsp / expert-lsp/expert

Single File/Script mode

Open
#398 0 comments 5 reactions 0 assignees View on GitHub
enhancement
Dominant language
Elixir
Stars
2.1k
Forks
113
Avg merge
1d 10h
Merged PRs (30d)
26

Description

## Description

Sometimes people open an elixir script and want autocomplete and hover, but this seems to not work correctly at the moment (example #397)

## Notes

- Might partially support this by not starting an engine and allowing AST based features or formatting (things that dont require an engine necessarily), run in a degraded state. Autocompletion might work for standard library.
- This scenario will not have a mix project, need to figure out how that works with our engine.
- Might need another simpler engine runtime implementation that is designed for this purpose
- Scripts can use Mix.install, we need to ensure how we can support that and give autocomplete/definition for those packages.
- might need to parse the script and extract the packages passed to Mix.install, and then install them in a different way, since we don't want to actually execute their script.
- we need to figure out how to cache those packages correctly, we dont want to install them everytime they open the script, but need to correctly cache bust them if they change them.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.