Litho IntelliJ Plugin supports better integration with Litho framework in IntelliJ IDEA. Check the release notes for an overview and changelog for full version history.
The plugin is currently under development. You can install it from the IntelliJ Marketplace by searching for Litho. Or you can manually build and install the latest version by following next steps:
- From the litho-intellij-plugin directory run command to build and install the plugin to the
output_path
which is an IDE plugin folder. For example, in MacOS this folder could be~/Library/Application\ Support/AndroidStudioX.X
. - You will be prompted to restart the IDE so that changes will apply.
- Verify that Preferences - Plugins contains Litho now. Done.
Step 1 depends on the build system:
Builds full plugin with all features:
$ ./buildPlugin.sh -p output_path
Builds limited plugin without file generation features:
$ buck build litho-intellij --out output_path