Solidity Package Manager - Language Server
This extension enables faster development of solidity packages.
Programming Languages and Frameworks
The extension template has two parts, the extension part and language server part. The extension part is written in TypeScript, and language server part is written in Python over the [pygls][pygls] (Python language server) library.
- VS Code 1.64.0 or greater
- Python 3.7 or greater (SPM, textX, jsonmerge)
- node >= 14.19.0
- npm >= 8.3.0 (
npm is installed with node, check npm version, use
npm install -g email@example.com to update)
- Python extension for VS Code
You should know to create and work with python virtual environments.
- Everything you need to know is in documentation
Features of this Extension
- Syntax highlight
- Code snippets - init, package, using and @
- Definition referencing
- Syntax and semantic code validation
- Code completion
Building and Run the extension
Debug Extension and Python configuration form VS Code. That should build and debug the extension in host window.
Note: if you just want to build you can run the build task in VS Code (
To debug both TypeScript and Python code use
Debug Extension and Python debug config. This is the recommended way. Also, when stopping, be sure to stop both the Typescript, and Python debug sessions. Otherwise, it may not reconnect to the python session.
To debug only TypeScript code, use
Debug Extension debug config.
To debug a already running server or in production server, use
Python Attach, and select the process that is running