First off, thank you for considering contributing to Copilot for Obsidian! It's people like you who make Copilot for Obsidian such a great tool!
Before submitting a bug report or suggestion, please check the issues page for a list of currently known issues to ensure the bug has not already been reported. If it's a new bug or suggestion, create an issue and provide the following information:
- Use a clear and descriptive title.
- Describe the exact steps which reproduce the problem in as much detail as possible.
- Provide specific examples to demonstrate these steps.
- Describe the behavior you observed after following the steps, pointing out what exactly is the problem.
- Explain which behavior you expected to see instead and why.
- Include screenshots or animated GIFs showing you following the described steps and clearly demonstrating the problem.
Unsure where to begin contributing to Copilot for Obsidian? You can start by looking through the help-wanted
issues.
The process described here aims to:
- Maintain the quality of Copilot for Obsidian.
- Fix problems that are important to users.
- Engage the community in working towards the best possible Copilot for Obsidian.
- Enable a sustainable system for Copilot for Obsidian's maintainers to review contributions.
Please follow these steps to have your contribution considered by the maintainers:
- Ensure the code adheres to a clean style consistent with the existing code.
- Thoroughly test your changes before submitting.
- Be descriptive in your pull request, linking to the issue it addresses, and showing screenshots demonstrating the change.
- Once you receive feedback, update the code accordingly to address them before your pull request can be ultimately accepted.
Here is a great writeup by Daniel Haven on the best practices for setting up your dev environment for Obsidian plugins.
In the case of Copilot for Obsidian, you will need to:
- Fork the repo.
- Create a vault just for development.
- Clone the forked repo into your vault's
plugins
folder. - Run
npm install
to install all dependencies. - Install the recommended VS Code extensions (Prettier and ESLint).
- Ensure your editor respects the
.editorconfig
and Prettier settings. - Run
npm run dev
in your repo to see the effect of your changes. - Before committing, run
npm run format
to ensure all files are properly formatted. - When you are ready to make a pull request, ensure to make your changes in a branch on your fork, and then submit a pull request to the main repo.
Try to be descriptive in your branch names and pull requests. Happy coding!
- Discord: Join the server for Copilot dev discussions.
- Email: [email protected]
Thank you for contributing to Copilot for Obsidian!