Thank you for your interest in contributing to this project!
Please review the following guidelines before making your contribution.
Important
If you plan on making a significant contribution, we recommend that you first create a discussion describing your proposed contribution to the project. This allows the project maintainers to provide early feedback that can help guide your contribution.
Ensure that you have the following tools installed on your machine:
- Java development kit (JDK) 17
- IntelliJ IDEA Ultimate Edition
- git-cliff (maintainers only)
- Fork the repository and clone it to your local machine.
gh repo fork biomejs/biome-intellij --clone
The plugin can be started in IDEA by running the runIde
Gradle task. This will start a new instance of IDEA with the
plugin loaded.
./gradlew runIde
To run the plugin's tests, run the test
Gradle task.
./gradlew runIdeForUiTests &
./gradlew test
-
Create a branch. Before making any changes, create a branch to work on.
git checkout -b my-branch-name
-
Make your changes. Make your changes to the codebase and commit them. The format of your commit messages is not important at this stage because they will be squashed later, but please ensure that your commit messages are descriptive.
-
Create a pull request. Once you are done making your changes, push your branch to your fork and create a pull request. Please ensure that the title of your pull request follows the conventional commits specification.
This section is for maintainers only. It describes the process for releasing a new version of the extension.
- Create a new branch for the release.
git fetch git checkout -b release/vX.Y.Z main
- Generate the changelog.
git-cliff --bump e71479100d4ed81b3e9c26881c38a0ddb7da31eb..
- Bump the version in
gradle.properties
and to match the latest version in the changelog. - Commit and push your changes.
- Create a pull request named
chore(release): prepare vX.Y.Z
. - Merge the pull request.
- Run the
Publish
workflow manually from the Actions tab in GitHub (uncheck nightly).
- Commit your changes to the main branch.
- Generate the changelog.
git-cliff e71479100d4ed81b3e9c26881c38a0ddb7da31eb..
- Commit and push your changes.
- Run the
Publish
workflow manually from the Actions tab in GitHub (check nightly).