Welcome to Avalonia Extension for VS Code! We appreciate your interest in contributing. This guide will help you get started with contributing to our project. Please read it carefully.
-
dotnet 8.0, you can download it from here
-
NodeJS, npm You can get NodeJS and npm using NVM (Node Version Manager) by running the following command:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
See: https://github.com/nvm-sh/nvm for the latest version of this command.
-
Install yarn yarn can be installed with the following command:
npm install -g yarn
-
Latest Visual Studio Code
-
Fork and Clone the repository
git clone --recursive https://github.com/AvaloniaUI/AvaloniaVSCode
-
Update submodules This extension uses git submodules to pull in the Solution Parser and the Avalonia Visual Studio repo. Run the following to pull in the submodules:
git submodule update --init --recursive
-
Run the
build.sh
, currently repo does not have build script for Windows
- Create a new issue or use the existing to contribute (assign it yourself)
- Create a new branch for the issue
- Send the PR with description
Hit F5
this will a new vscode window with the dev extension running. Open an avalonia project to use it.
Make sure you run the build.sh
before packaging
- Open command palette (shift + cmd + p)
- Select
Task: Run Task
- Select
Package Extension