Crates.io | sway-lsp |
lib.rs | sway-lsp |
version | 0.66.5 |
source | src |
created_at | 2022-03-10 18:01:26.3797 |
updated_at | 2024-11-20 22:57:25.608275 |
description | LSP server for Sway. |
homepage | https://fuel.network/ |
repository | https://github.com/FuelLabs/sway |
max_upload_size | |
id | 547726 |
size | 670,963 |
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.