<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: László Szabó</title>
    <description>The latest articles on DEV Community by László Szabó (@lezli01).</description>
    <link>https://dev.to/lezli01</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4009493%2F4950fb77-1d74-4350-a023-25ad8d659dd3.jpg</url>
      <title>DEV Community: László Szabó</title>
      <link>https://dev.to/lezli01</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lezli01"/>
    <language>en</language>
    <item>
      <title>Firebase Security Rules deserve better IDE support</title>
      <dc:creator>László Szabó</dc:creator>
      <pubDate>Tue, 30 Jun 2026 11:18:40 +0000</pubDate>
      <link>https://dev.to/lezli01/firebase-security-rules-deserve-better-ide-support-25gm</link>
      <guid>https://dev.to/lezli01/firebase-security-rules-deserve-better-ide-support-25gm</guid>
      <description>&lt;p&gt;I have been writing Cloud Firestore Security Rules for years, and I usually edit them in the same place where I do the rest of my work: Android Studio or another JetBrains IDE.&lt;/p&gt;

&lt;p&gt;And every time, the same thing bothered me.&lt;/p&gt;

&lt;p&gt;A &lt;code&gt;.rules&lt;/code&gt; file controls access to production data, but in many IDE setups it is treated almost like plain text.&lt;/p&gt;

&lt;p&gt;No proper structure awareness.&lt;br&gt;
No useful formatting.&lt;br&gt;
No diagnostics while editing.&lt;br&gt;
No symbol support for helper functions.&lt;/p&gt;

&lt;p&gt;For something that decides who can read and write your data, that feels wrong.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;hotrulez&lt;/strong&gt;, a free and open-source JetBrains plugin for Firebase Security Rules.&lt;/p&gt;

&lt;h2&gt;
  
  
  What hotrulez does
&lt;/h2&gt;

&lt;p&gt;hotrulez adds IDE support for &lt;code&gt;.rules&lt;/code&gt; files inside IntelliJ-based IDEs, including Android Studio.&lt;/p&gt;

&lt;p&gt;It currently supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;syntax highlighting&lt;/li&gt;
&lt;li&gt;formatting&lt;/li&gt;
&lt;li&gt;parse error diagnostics&lt;/li&gt;
&lt;li&gt;structure-aware rule parsing&lt;/li&gt;
&lt;li&gt;helper/function symbol support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is simple: make Firebase Security Rules easier to read, write, and maintain in the IDE where many Firebase developers already work.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does not do
&lt;/h2&gt;

&lt;p&gt;hotrulez does &lt;strong&gt;not&lt;/strong&gt; evaluate authentication logic.&lt;/p&gt;

&lt;p&gt;It does &lt;strong&gt;not&lt;/strong&gt; replace the Firebase Emulator Suite.&lt;/p&gt;

&lt;p&gt;It does &lt;strong&gt;not&lt;/strong&gt; tell you whether your rules are secure.&lt;/p&gt;

&lt;p&gt;That part still belongs to proper tests, reviews, and Firebase’s own tooling.&lt;/p&gt;

&lt;p&gt;The plugin focuses on the editor experience: helping &lt;code&gt;.rules&lt;/code&gt; files feel like real code instead of a plain text blob.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;Security rules tend to grow slowly.&lt;/p&gt;

&lt;p&gt;At first, they are small enough that you can keep everything in your head. Then helper functions appear. Then nested &lt;code&gt;match&lt;/code&gt; blocks grow. Then multiple collections get different access patterns. Eventually, the file becomes important enough that editing it without language support feels uncomfortable.&lt;/p&gt;

&lt;p&gt;I wanted a free, open-source option that made this experience better in JetBrains IDEs.&lt;/p&gt;

&lt;p&gt;So I built one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who it is for
&lt;/h2&gt;

&lt;p&gt;hotrulez is probably useful if you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;use Firebase or Cloud Firestore&lt;/li&gt;
&lt;li&gt;edit &lt;code&gt;.rules&lt;/code&gt; files in Android Studio or IntelliJ&lt;/li&gt;
&lt;li&gt;maintain larger Firestore rulesets&lt;/li&gt;
&lt;li&gt;want basic IDE support without using a paid plugin&lt;/li&gt;
&lt;li&gt;prefer open-source developer tooling&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/lezli01/hotrulez" rel="noopener noreferrer"&gt;hotrulez&lt;/a&gt;&lt;br&gt;
JetBrains Marketplace: &lt;a href="https://plugins.jetbrains.com/plugin/32552-firebase-rules-hotrulez-" rel="noopener noreferrer"&gt;Firebase Rules&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback, bug reports, and feature ideas are very welcome, especially from people maintaining larger Firebase Security Rules files.&lt;/p&gt;

</description>
      <category>firebase</category>
      <category>jetbrains</category>
      <category>androidstudio</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
