2.9 KiB
Contributing to Copilot for Obsidian
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!
How Can I Contribute?
Reporting Bugs or Suggesting Enhancements
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.
Your First Code Contribution
Unsure where to begin contributing to Copilot for Obsidian? You can start by looking through the help-wanted issues.
Pull Requests
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.
How to Set Up Dev Environment
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
pluginsfolder. - Run
npm run devin your repo to see the effect of your changes. - 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!
Getting Help
- Discord: Join the server for Copilot dev discussions.
- Email: logan@brevilabs.com
Thank you for contributing to Copilot for Obsidian!