Skip to content

Latest commit

 

History

History
 
 

idea

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Hacking with IDEA

Import the project as a Maven project.

Make sure to install the Lombok plugin (File → Settings → Plugins → Browse Repositories...).

There is a code style available. Copy the file into <idea-home>/config/codestyles/Heroic.xml, where <idea-home> is the home directory of IDEA (~/.IdeaIC15, ~/.IntelliJIdea15/). After starting IDEA you can select the code style under (File → Settings → Editor → Code Style) and pick scheme Heroic.

IDEA requires you to run mvn compile prior to the first run in order to generate certain sources.

  • heroic-parser - Contains Antlr4 grammar files which are not generated automatically by IDEA.

Running HeroicShell in IDEA

Create a new run configuration where you run the com.spotify.heroic.HeroicShell class from the heroic-dist module.

You can see the list of options available by running tools/heroic-shell --help. A popular combination is to run the memory profile and enable the server with -P memory --server.