https://github.com/developer-dao/fls
Fe language server to add Fe support to editors and other tools that use the Language Server Protocol (LSP)
https://github.com/developer-dao/fls
Last synced: 10 months ago
JSON representation
Fe language server to add Fe support to editors and other tools that use the Language Server Protocol (LSP)
- Host: GitHub
- URL: https://github.com/developer-dao/fls
- Owner: Developer-DAO
- License: apache-2.0
- Created: 2022-06-07T14:58:08.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T06:44:09.000Z (over 3 years ago)
- Last Synced: 2025-03-24T03:53:09.646Z (11 months ago)
- Language: Rust
- Size: 16.6 KB
- Stars: 5
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](http://rustup.rs/) 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](https://github.com/Developer-DAO/vscode-fe).
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](https://opensource.org/licenses/Apache-2.0)