MongoDB welcomes community contributions! If you’re interested in making a contribution to MongoDB Compass, please follow the steps below before you start writing any code:
- Sign the contributor's agreement. This will allow us to review and accept contributions.
- Fork the repository on GitHub
- Create a branch with a name that briefly describes your feature
- Implement your feature or bug fix
- Add new cases to
./src/test
that verify your bug fix or make sure no one unintentionally breaks your feature in the future and run them withnpm test
- Add comments around your new code that explain what's happening
- Commit and push your changes to your branch then submit a pull request
You can report new bugs by creating a new issue. Please include as much information as possible about your environment.
We recommend familiarizing yourself with the VSCode extension documentation: code.visualstudio.com/api.
Running the MongoDB VSCode plugin requires Node.js and npm.
- Clone this project, navigate to the folder, then run:
npm install
npm run watch
- Inside of VS Code Insiders open this directory and press
F5
to begin debugging the extension. This should launch a new VSCode window which is running the extension.
out
compiled extension codeimages
Icons, logos, etc.snippets
[Bundled MongoDB Snippets][snippet guide]syntaxes
[Syntax highlighting for.mongodb
files][syntax guide]src
test/suite
where tests live with files names*.test.ts
scripts
project helper scripts