Thank you for your interest in contributing to the STM32 Development Extension for VS Code! This document provides guidelines and instructions to help you get started.
- Node.js: Ensure you have Node.js v20 installed. We recommend using the latest major LTS version when contributing.
- Use
nvm
(Node Version Manager) to installnpm
(Node Package Manager).
- Use
- VS Code: Install the latest version of VS Code, preferably the Insider version.
- Clone the repository:
git clone https://github.com/bmd-studio/stm32-for-vscode
cd stm32-for-vscode
- Install dependencies:
npm install
To run and debug the extension:
- Open the project in VS Code.
- Use the "Extension" debugging configuration provided in the
launch.json
file.
To run all tests and compile the code:
npm run test
This command will compile the code and run all tests using the pretest script automatically.
To run only unit tests:
npm run test:unit
Compilation should run automatically when you execute the tests.
We appreciate your contributions and suggestions. If you have any questions or need further assistance, feel free to open an issue or contact the maintainers.
Thank you for contributing!
- The VS Code "Your First Extension" guide is a great resource for learning how to create and contribute to VS Code extensions.