Skip to content

everx-labs/everdev-vscode

Repository files navigation

EverDev Visual Studio Code plugin

Access EverDev Toolkit functionality directly from VS Code IDE with EverDev extension.

Content Table

Installation

VS Code: search for EverDev extention or go to https://marketplace.visualstudio.com/items?itemName=TONLabs.everdev.

VS Codium: search for EverDev extention or go to https://open-vsx.org/extension/TONLabs/everdev

Supported operations

Go to View -> Command Pallete... and enter everdev. You will see the list of available commands.
Also some commands can be accessed from context menu of Code Explorer (click on empty area) or files that have .sol, .cpp, abi.json and .tvc extensions.

EverDev commands

Solidity

Create your first contract

This command creates a hello-world Solidity contract with comments that you can observe and compile.

Click on the empty space in Explorer and find Create Solidity Contract command or access it from

View->Command palette->EverDev: Create Solidity Contract.

Create Solidity contract.

We named the contract Contract. After command is finished you will see the source code of hello world contract that you can now compile.

Created Solidity contract.

Compile

This command compiles and links a selected Solidity contract. After successful compilation you get .abi.json and .tvc files that you can later use in your DApps to deploy and call contract methods.

Find Compile Solidity Contract command in the .sol file context menu or access it from

View->Command palette->EverDev: Compile Solidity Contract

Compile Solidity Contract

Version

This command shows the currently installed Solidity compiler version.

Access this command from View->Command palette->EverDev: Show Solidity Version

Update

This command updates the compiler to the latest version.

In case you had some problems with installation or want to pull the latest compiler version use this command. Access it from View->Command palette->EverDev: Update Solidity Compiler

C++

Create your first contract

This command creates a hello-world C++ contract with comments that you can observe and compile.

Click on the empty space in Explorer and find Create C++ Contract command or access it from

View->Command palette->EverDev: Create C++ Contract.

We named the contract Contract. After command is finished you will see the source code of hello world contract that you can now compile.

Compile

This command compiles and links a selected C++ contract. After successful compilation you get .abi.json and .tvc files that you can later use in your DApps to deploy and call contract methods.

Find Compile C++ Contract command in the .sol file context menu or access it from

View->Command palette->EverDev: Compile C++ Contract

Version

This command shows the currently installed Solidity compiler version.

Access this command from View->Command palette->EverDev: Show C++ Version

Update

This command updates the compiler to the latest version.

SDK

Create Demo Project

This command creates a Node.js project with SDK latest dependencies and index.js file with main Client object creation.

Click on the empty space in Explorer and find Create TON JS App command or access it from View->Command palette->EverDev: Create TON JS App.

Create NodeJS project

We named our project demo. After command is finished you will see package.json with js sdk dependencies and index.js file with client creation, connecting to local blockchain TONOS Startup Edition.

To connect to the local blockchain you need to run it. Find out how to launch it here.

Client creation: Client creation

Dependencies: Dependencies

Backlog

Compilers

  • Support other compilation and linking options

TS4

  • Debug contracts with TS framework and tools

Network registry support

  • Support GUI for network management

Signer registry support

  • Support GUI for keys management

Contract management support

  • Support deploy and execution of contracts with nice UI