Thank you for investing your time in contributing to this plugin!
In this guide you will get an overview of the contribution workflow from opening an issue, creating a pull request, and testing the plugin.
If you spot a problem with the plugin, search if an issue already exists. If a related issue doesn't exist, you can open a new issue using a relevant issue form.
Scan through the existing issues to find one that interests you. If you find an issue to work on, you are welcome to open a PR with a fix.
- Fork the repository.
- Install Git on your local machine.
- Install or update Node.js version at least
18.x
. - You will need a code editor, such as Visual Studio Code
- Clone repository to your local machine.
- Create a new vault
cd path/to/vault
mkdir .obsidian/plugins
cd .obsidian/plugins
git clone <your-repository-url> settings-profiles
- Install dependencies
cd settings-profiles
npm install
- Create a working branch and start with your changes!
git branch <working-branch> master
git checkout <working-branch>
- Compile the source code. The following command keeps running in the terminal and rebuilds the plugin when you modify the source code.
npm run dev
- Enable the plugin in Obsidian settings
Tip
Install the Hot-Reload plugin to automatically reload the plugin while developing.
Commit the changes once you are happy with them.
When you're finished with the changes, push them to your fork and create a pull request. Make sure you fill the pull request template.
Not a developer but still want to help? You can help with testing. Either you test the current version for possible problems or, if there are currently any, you can also test pre-releases (alpha/beta). You need to install the version you wanna test in a vault. It is not recommendet to test in your acctual vault create a copy of it or create new one for testing. If you found a bug or unexpected behavior create an issue with the version you have tested. Before creating an issue, make sure you know how to reproduce the bug. If there is already an issue for the bug you found that is still open but you have additional information, add it to the issue.
Tip
Install the VARE plugin to easily switch versions while testing.