Crates.io | sway-lsp |
lib.rs | sway-lsp |
version | |
source | src |
created_at | 2022-03-10 18:01:26.3797+00 |
updated_at | 2025-03-13 17:00:45.804493+00 |
description | LSP server for Sway. |
homepage | https://fuel.network/ |
repository | https://github.com/FuelLabs/sway |
max_upload_size | |
id | 547726 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This extension provides LSP support for the Sway smart contract programming language.
Coming Soon
forc-lsp
is installed correctly by entering forc-lsp --version
into your terminal.To try out the local LSP version:
cargo install --path ./forc-plugins/forc-lsp
.Sway-lsp › Diagnostic: Bin Path
to the installed forc-lsp
binary. The path to the binary will be listed at the end of the cargo install
command and is usually: /home/<user>/.cargo/bin/forc-lsp
../examples/arrays
.dbg!
or eprintln!
lines.