sway-lsp

Crates.iosway-lsp
lib.rssway-lsp
version0.66.4
sourcesrc
created_at2022-03-10 18:01:26.3797
updated_at2024-11-03 16:48:17.779274
descriptionLSP server for Sway.
homepagehttps://fuel.network/
repositoryhttps://github.com/FuelLabs/sway
max_upload_size
id547726
size667,597
(fuel-service-user)

documentation

README

Sway Language Server

Visual Studio Marketplace Version discord

This extension provides LSP support for the Sway smart contract programming language.

Features

  • go-to type definition
  • 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
  • find all references, workspace symbol search
  • ... and many more

Quick start

  1. Install the Fuel toolchain.
  2. Ensure forc-lsp is installed correctly by entering forc-lsp --version into your terminal.
  3. Install the Sway VSCode plugin.
Commit count: 3118

cargo fmt