Skip to content

anboralabs/intellij-firebase-highlighter

Repository files navigation

logo
Firebase Rules Syntax Highlighter


Plugin

What is it?

intellij-firebase-highlighter is an Intellij plugin for highlighting firebase rules.

How to use it?

  • Add plugin to Intellij IDE
  • Configure colors

Add plugin to Intellij IDE

  • 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

Market Place

Configure colors

  • Editor -> Color Schema -> Firebase Rules

Color Settings

Credits

The main ideas used here were borrowed from: