1
1
<a href =" https://www.buymeacoffee.com/dalgarins " target =" _blank " ><img src =" https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png " alt =" Buy Me A Coffee " style =" height : 41px !important ;width : 174px !important ;box-shadow : 0px 3px 2px 0px rgba (190 , 190 , 190 , 0.5 ) !important ;-webkit-box-shadow : 0px 3px 2px 0px rgba (190 , 190 , 190 , 0.5 ) !important ;" ></a >
2
+
2
3
# intellij-firebase-highlighter
3
4
4
5
![ Plugin] ( /images/highlighted.png )
5
6
6
7
## What is it?
7
- intellij-firebase-highlighter is an Intellij plugin for highlighting firebase rules.
8
+
9
+ intellij-firebase-highlighter is an Intellij plugin for highlighting firebase
10
+ rules.
8
11
9
12
## How to use it?
10
13
@@ -14,21 +17,25 @@ intellij-firebase-highlighter is an Intellij plugin for highlighting firebase ru
14
17
### Add plugin to Intellij IDE
15
18
16
19
- Clone repo
20
+
17
21
``` sh
18
22
git clone https://github.com/anboralabs/intellij-firebase-highlighter
19
23
```
24
+
20
25
```
21
26
- Find grammar directory
22
27
- FirebaseRules.bnf -> Right click -> Generate Parser Code
23
28
- FirebaseRules.flex -> Right click -> Run JFlex Generator
24
29
```
25
30
26
31
- Install from disk
32
+
27
33
```
28
34
- Go to https://github.com/anboralabs/intellij-firebase-highlighter/releases/tag/v1.0.0
29
35
- download firebase-syntax-highlighting-1.0-SNAPSHOT.jar
30
36
- Plugins -> Install From disk -> choose the file downloaded
31
37
```
38
+
32
39
- Install from plugin store
33
40
34
41
![ Market Place] ( /images/market_place.png )
@@ -43,14 +50,16 @@ git clone https://github.com/anboralabs/intellij-firebase-highlighter
43
50
44
51
![ Color Settings] ( /images/color_settings.png )
45
52
46
-
47
53
## Credits
54
+
48
55
The main ideas used here were borrowed from:
56
+
49
57
- https://github.com/ferronrsmith/intellij-fbp-highlighter
50
58
- https://github.com/lark-parser/intellij-syntax-highlighting
51
59
- https://github.com/klazuka/intellij-elm
52
60
53
61
## License
62
+
54
63
```
55
64
MIT License
56
65
@@ -73,4 +82,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
73
82
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
74
83
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
75
84
SOFTWARE.
76
- ```
85
+ ```
0 commit comments