Skip to content

jsomwaru/vscode-flow

 
 

Repository files navigation

Cadence Visual Studio Code Extension

This extension integrates Cadence, the resource-oriented smart contract programming language of Flow, into Visual Studio Code. It provides features like syntax highlighting, type checking, code completion, etc.

Features

  • Syntax highlighting (including in Markdown code fences)
  • Diagnostics (errors and warnings)
  • Type information on hover
  • Go to declaration
  • Code completion
  • Run the emulator, submit transactions, scripts from the editor

Installation

To install the extension, ensure you have VS Code installed and have configured the code command line interface.

Using the Flow CLI

The recommended way to install the latest released version is to use the Flow CLI.

First, install the Flow CLI.

Check that it's been installed correctly.

flow version

Next, use the CLI to install the VS Code extension.

flow cadence install-vscode-extension

Restart VS Code and the extension should be installed!

About

The Visual Studio Code extension for Flow

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%