intellij-firebase-highlighter is an Intellij plugin for highlighting firebase rules.
- Add plugin to Intellij IDE
- Configure colors
- Clone repo
git clone https://github.com/anboralabs/intellij-firebase-highlighter
- Find grammar directory
- FirebaseRules.bnf -> Right click -> Generate Parser Code
- FirebaseRules.flex -> Right click -> Run JFlex Generator
- Install from disk
- Go to https://github.com/anboralabs/intellij-firebase-highlighter/releases/tag/v1.0.0
- download firebase-syntax-highlighting-1.0-SNAPSHOT.jar
- Plugins -> Install From disk -> choose the file downloaded
- Install from plugin store
-
Plugin url
- Editor -> Color Schema -> Firebase Rules
The main ideas used here were borrowed from: