All Projects → onflow → vscode-cadence

onflow / vscode-cadence

Licence: Apache-2.0 license
The Visual Studio Code extension for Cadence

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to vscode-cadence

Cadence
Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
Stars: ✭ 5,522 (+11404.17%)
Mutual labels:  cadence
CadenceSKILL-Python
Inter Process Communication (IPC) between Python and Cadence Virtuoso
Stars: ✭ 51 (+6.25%)
Mutual labels:  cadence
dtm
A distributed transaction framework that supports multiple languages, supports saga, tcc, xa, 2-phase message, outbox patterns.
Stars: ✭ 6,110 (+12629.17%)
Mutual labels:  cadence
flow-js-testing
Testing framework to enable Cadence testing via a set of JavaScript methods and tools
Stars: ✭ 44 (-8.33%)
Mutual labels:  cadence
awesome-cadence-temporal-workflow
A curated list of awesome things related to the Cadence and Temporal Workflow Engines
Stars: ✭ 63 (+31.25%)
Mutual labels:  cadence
fcl-js
FCL (Flow Client Library) - The best tool for building JavaScript (browser & NodeJS) applications on Flow 🌊
Stars: ✭ 302 (+529.17%)
Mutual labels:  cadence
Dockerize-EDA
[WIP] Dockerize Synopsys/Cadence EDA tools
Stars: ✭ 57 (+18.75%)
Mutual labels:  cadence

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

Flow Emulator Integration

The extension will automatically connect to your local running Flow Emulator. This will enable blockchain interaction features such as deploying contracts, executing transaction & scripts, and enabling flow imports. If an emulator is not detected, basic language support is still provided.

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

Debugging

Use the debugger build into VSCode on Cadence files by creating a launch.json file. Make sure to have an emulator connected to enable debugging.

Example launch.json
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "cadence",
      "request": "launch",
      "name": "Curent file",
      "program": "${file}",
      "stopOnEntry": true
    }
  ]
}

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].