Appetizer-intellij is an IntelliJ/Android Studio plugin that exposes some functionalities of these IDEs to modern continuous integration systems. The goal is to allow CI systems to leverage the code navigation, code highlighting or even refactoring capability of powerful IDEs.
To install the plugin from the JAR archive, follow these steps:
- Download the latest version of the plugin from GitHub release
- Once downloaded, open the IntelliJ IDEA File -> Settings -> Plugins -> Install plugin from disk -> Choose
- Browse to the location of the downloaded JAR archive.
- Press OK to confirm the installation. The IDE will ask you to restart in order to complete the plugin installation. Restart your IDE.
Coming soon
Coming soon
Once installed, appetizer-intellij
listens at localhost:8097
for commands (port can be configured in the setting panel of the plugin). It receives REST commands and we provide a simple Python CLI for demonstration.
- Highlight certain line(s) of a Java class.
group
is an arbitrary numeric ID.class_name
is a fully qualified Java class, e.g.com.example.MyClass
.lines
is a comma-separated list of line numbers, e.g.,1,2,100
. After executing, these highlights would be added to the specified group and can be unhighlighted by giving the group.
python cli.py highlight group class_name lines
- Un-highlight a certain highlight group
python cli.py unhighlight group
- Query which line(s) belong to a certain highlight group
python cli.py query group
- Jump to a certain line of a Java class
python cli.py jump class_name line
- Query the basic information of the project of last operation
python cli.py info
- Query plugin version
python cli.py version