
This extension provides LSP support for the Sway smart contract programming language.
- goto type definition
- types and documentation on hover
- inlay hints for types and parameter names
- semantic syntax highlighting
Coming Soon
- symbol renaming
- code completion with imports insertion
- code actions
- apply suggestions from errors
- find all references, workspace symbol search
- ... and many more
- Install the Fuel toolchain.
- Ensure
forc-lsp
is installed correctly by enteringforc-lsp --version
into your terminal. - Install the Sway VSCode plugin.
This extension provides configurations through VSCode's configuration settings. All configurations are under sway-lsp.*
.