Code Monkey home page Code Monkey logo

vscode-cadence's Introduction

Logo

Bringing Cadence, the resource-oriented smart contract language of Flow, to your VSCode Editor.


CI Docs Report Bug Contribute

Installation

Install the Cadence extension from the Visual Studio Marketplace

The extension is also available on the Open VSX Registry

Once installed, the extension will help you install other dependencies such as the Flow CLI.

Features

Start Emulator

A Flow emulator is hosted for you on the language server once the extension is loaded. You can also switch between accounts and if your projects contains flow.json it gets automatically loaded by the emulator.

Self-hosted emulator

You may also choose to run your own Flow emulator locally. The extension will detect your running local emulator and connect to it automatically.

Deploy Contracts

Deploy contracts to the emulator without leaving the VSCode editor. The address the contract gets deployed to is returned and available for copying.

Deploy Contracts

Code Generation

Write cadence code with the speed of light and get your product live before that afternoon coffee. How? Use the snippets provided by VSCode extension.

Code Generation

But wait, there's much more than meets the eye. VSCode Cadence extension also offers:

  • Syntax highlighting (including in Markdown code fences)
  • Diagnostics (errors and warnings)
  • Code completion, including documentation
  • Type information on hover
  • Go to declaration
  • Go to symbol
  • Document outline
  • Renaming
  • Signature help
  • Symbol highlighting
  • Code actions
  • Declare constants, variables, functions, fields, and methods
  • Add missing members when implementing an interface
  • Apply removal suggestion
  • Apply replacement suggestion
  • Run the emulator, submit transactions, scripts from the editor

vscode-cadence's People

Contributors

dylantinianov avatar sideninja avatar turbolent avatar maxstalker avatar jordanschalm avatar psiemens avatar 10thfloor avatar dependabot[bot] avatar snyk-bot avatar latkes avatar nduplessis avatar briang avatar

Stargazers

Banging avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.