Welcome to VS Code Tools for AXAML! We appreciate your interest in contributing. This guide will help you get started with contributing to our project. Please read it carefully.
-
.NET 10.0 SDK, you can download it from here
-
Node.js, npm
You can get Node.js 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 | bashSee: https://github.com/nvm-sh/nvm for the latest version of this command.
-
Install Node package manager (npm) and use it for scripts The repository uses
npm(installed with Node.js). Usenpmfor installing and running scripts. -
Latest Visual Studio Code
-
Fork and Clone the repository
git clone --recursive https://github.com/lextudio/vscode-axaml
-
Update submodules
This extension uses git submodules to pull in the Solution Parser and the AXAML 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.
Ensure you have vsce installed:
npm install -g @vscode/vsceBuild & package (outputs VSIX under ./output):
./package.shOr specify a custom output directory:
./package.sh /path/to/outThe script will:
- Copy the root README and LICENSE into
src/vscode-axamltemporarily - Build the language server (Release) & solution parser
- Compile the TypeScript client
- Run
vsce packageand place the .vsix in the output folder - Remove the temporary README / LICENSE copies from the extension folder