Fe Language Server
The FLS
is designed to be frontend-independent. We hope it will be widely adopted by different editors and IDEs.
You can install rustup on many platforms. This will help us quickly install the FLS and its dependencies.
If you already have rustup installed, update to ensure you have the latest rustup and compiler:
rustup update
Once you have rustup installed, run the following commands:
cargo install --git https://github.com/fe-lang/fls.git
The FLS is built to work with many IDEs and editors, we mostly use VSCode to test the FLS. The easiest way is to use the published extension.
You'll know it's working when you see this in the status bar at the bottom, with a spinning indicator:
FLS: working ◐
Once you see:
FLS
Then you have the full set of capabilities available to you. You can goto def, find all refs, rename, goto type, etc. Completions are also available. As you type, your code will be checked and error squiggles will be reported when errors occur. You can hover these squiggles to see the text of the error.