https://github.com/fuellabs/sway-vscode-plugin
Sway Visual Studio Code plugin
https://github.com/fuellabs/sway-vscode-plugin
Last synced: 8 months ago
JSON representation
Sway Visual Studio Code plugin
- Host: GitHub
- URL: https://github.com/fuellabs/sway-vscode-plugin
- Owner: FuelLabs
- License: apache-2.0
- Created: 2021-05-18T13:53:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-07-07T00:35:17.000Z (11 months ago)
- Last Synced: 2025-07-07T01:34:01.259Z (11 months ago)
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=FuelLabs.sway-vscode-plugin
- Size: 38.6 MB
- Stars: 50
- Watchers: 17
- Forks: 8
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://marketplace.visualstudio.com/items?itemName=FuelLabs.sway-vscode-plugin)
[](https://discord.gg/xfpK4Pe)
This extension provides LSP support for the Sway smart contract programming language.
## Features
- goto type definition
- find all references
- types and documentation on hover
- inlay hints for types and parameter names
- semantic syntax highlighting
- symbol renaming
- code actions
- imports insertion
_Coming Soon_
- code completion
- apply suggestions from errors
- workspace symbol search
- ... and many more
## Quick start
1. Install the [Fuel toolchain](https://fuellabs.github.io/fuelup/master/installation/index.html).
1. Ensure `forc-lsp` is installed correctly by entering `forc-lsp --version` into your terminal.
1. Install the [Sway VSCode plugin](https://marketplace.visualstudio.com/items?itemName=FuelLabs.sway-vscode-plugin).
## Configuration
This extension provides configurations through VSCode's configuration settings. All configurations are under `sway-lsp.*`.