Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Firebase storage rules syntax highlighter for WebStorm?

I opened the Firebase friendlychat-web (GitHub) sample project (web folder) in WebStorm.

Unfortunately, the storage.rules file opens without syntax highlighting. There's no WebStore plugin for Firebase development. The language used for the storage rules is a custom one.

Has anyone crafted / is aware of a syntax highlighter I could use?

enter image description here

like image 519
akauppi Avatar asked Oct 31 '25 07:10

akauppi


1 Answers

Best you can do ATM is to add some colors by creating a new file type under Settings->Editor->File Types.

You can get it to look like this: enter image description here

This is how first page of my config looks like: enter image description here

The only downside is that highlighter is only aware of certain words but not of the syntax, so it would highlight word no matter where you use it.

like image 133
Tadej Avatar answered Nov 01 '25 21:11

Tadej



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!