Developer-DAO / fls

Fe language server to add Fe support to editors and other tools that use the Language Server Protocol (LSP)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

FLS

Fe Language Server

The FLS is designed to be frontend-independent. We hope it will be widely adopted by different editors and IDEs.

Setup

Step 1: Install rustup

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

Step 2: Install the FLS

Once you have rustup installed, run the following commands:

cargo install --git https://github.com/Developer-DAO/fls.git

Running

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.

License

Apache 2.0

About

Fe language server to add Fe support to editors and other tools that use the Language Server Protocol (LSP)

License:Apache License 2.0


Languages

Language:Rust 100.0%