Internal plugin, quick and dirty implementation.
Features:
- Autogenerated classes to protobuf navigation. For example, by clicking on
// source: foo/bar.proto
the IDE will open the protobuf file.
- Add the URL
https://raw.githubusercontent.com/trivago/intellij-idea-plugin/master/updatePlugins.xml
to the custom plugin repositories settings - Search for the plugin "trivago" and install it
Requirements
- IntelliJ Idea
Run the local plugin
This will start a new session of IDE with loaded the local plugin.
- Clone the project and import it in IntelliJ Idea
- Run select
intellij -> runIde
from the IDE's gradle window or rungradle runIde
.
- Increase the version in
src/main/resources/META-INF/plugin.xml
andbuild.gradle.kts
- Commit and push
- Run select
intellij -> jar
or rungradle jar
. It will create a jar file inbuild/libs/intellij-idea-plugin-x.x.x.jar
. E.g.build/libs/intellij-idea-plugin-0.1.0.jar
. - On github create a new release and attach the built jar by uploading it through the form.
- Increase the version and adjust the URL accordingly in
updatePlugins.xml
- Commit and push
The IDE will automatically be notified of the newly available version.