Syntax highlighting for the TOMB smart contract language.
How to install:
-
Go to .vscode\extensions
- Windows: %USERPROFILE%.vscode\extensions
- Linux/Mac: ~/.vscode/extensions
-
Create Folder (name it what you want, mines is called vscode-tomb)
-
Download the zip file and extract its contents into the newly created folder or clone the repo into the newly created folder.
-
Go into the newly created folder.
-
Run command "npm install"
-
Once the above installed, type 'npm run package'.
-
You should now have a '.vsix' file labeled tomb-0.0.2 (versions may be different as updates happen)
-
You can install the .vsix file by doing 1 of the following:
- Command line:
code --install-extension extension_name.vsix
- Visual Studio Code: Click the Extension view -> Click
...
at the top right of the extension view -> Clickinstall from Vsix
... -> findextension_name.vsix
and install.
- Command line:
-
Tomb files should now have proper syntax highlighting.
- Syntax highlighting
-
IntelliSense
-
Smart contract debugger
- In a struct definition there needs to be a blank like between the member name plus colon and type.