NOTE: Older versions of Node.js and Yarn may work, however, they have not been tested and no support will be provided for them. Similarly other package managers (e.g. npm and pnpm) will likely work, but they haven't been tested and no support will be provided for them.
Follow these VS Code Dev Containers tutorials to set up your development environment and get started with container-based development:
When using a Dev Container, you can either:
- Open the Git repository (or PR) in an isolated container volume.
- Open a locally cloned repository in a container.
When using a Dev Container, you can open a terminal attached to the container inside VS Code.
Run the following command from the project root:
yarn install
NOTE: The above command is automatically run after a Dev Container is created, so it can be skipped in that context.
- Open the project in VS Code.
- Start a debugging session using either the
Run Extension (alongside Rust Analyzer)
orRun Extension (without Rust Analyzer)
launch configuration.- This will open a new VS Code window with the extension loaded and the
test-fixtures
directory set as the workspace root. - A debugging session can be started in a few ways including:
- Opening the "Run and Debug" view and selecting and running the preferred launch configuration from the configuration dropdown.
- Selecting
Start Debugging > Run Extension (alongside Rust Analyzer)
orStart Debugging > Run Extension (without Rust Analyzer)
from the "Command Palette". - Selecting
Run > Start Debugging
from the application menu to run the last run (or default) Debug configuration.
- This will open a new VS Code window with the extension loaded and the
NOTE: Extension source code is found in the src/
directory and src/extension.ts
is the entrypoint.
You can run integration tests for all the core functionality either from the command line or using a launch configuration.
Run the following command from the project root:
yarn test
- Open the project in VS Code.
- Start a debugging session using the
Run Extension Tests
launch configuration.
NOTE: See the Development > Debugging
section above for instructions for starting
a debugging session using a launch configuration.
NOTE: For instructions for manual feature testing, refer to the "Manual Feature Testing Guide".
Licensed under GPL-3.0.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the GPL-3.0 license, shall be licensed as above, without any additional terms or conditions.
🌱 Funded by: the Web3 Foundation.