Thank you for your interest in contributing to the Python Environments extension! This guide will help you get started.
- Node.js (LTS version recommended)
- npm
- VS Code Insiders (recommended for development)
- Git
- Python
-
Clone the repository
cd vscode-python-environments -
Create a Python virtual environment
-
Install dependencies
npm install
-
Build and watch
npm run watch
-
Run tests
npm run unittest
- Open the project in VS Code
- Press
F5to launch the Extension Development Host - The extension will be loaded in the new VS Code window
- Localization: Use VS Code's
l10nAPI for all user-facing messages - Logging: Use
traceLogortraceVerboseinstead ofconsole.log - Error Handling: Track error state to avoid duplicate notifications
- Documentation: Add clear docstrings to public functions
Run unit tests with the different configurations in the "Run and Debug" panel
This project requires contributors to sign a Contributor License Agreement (CLA). When you submit a pull request, a CLA bot will automatically check if you need to provide a CLA and guide you through the process. You only need to do this once across all Microsoft repositories.
This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with questions.
- Questions: Start a discussion
- Bugs: File an issue
- Feature Requests: Start a discussion
Thank you for contributing! 🎉