Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/toba/vsfire

Visual Studio Code extension for syntax highlighting, hover help and code completions with Firestore security rules and index definition files
https://github.com/toba/vsfire

firebase firebase-storage vscode vscode-language

Last synced: 2 months ago
JSON representation

Visual Studio Code extension for syntax highlighting, hover help and code completions with Firestore security rules and index definition files

Lists

README

        

[![Market Badge](https://vsmarketplacebadge.apphb.com/version/toba.vsfire.svg)](https://marketplace.visualstudio.com/items?itemName=toba.vsfire)
[![Travis](https://travis-ci.org/toba/vsfire.svg?branch=master)](https://travis-ci.org/toba/vsfire#)
[![Installs](https://vsmarketplacebadge.apphb.com/installs/toba.vsfire.svg)](https://marketplace.visualstudio.com/items?itemName=toba.vsfire)

# Firestore Security Rules and Indexes

Syntax highlighting, code completions and hover help for new [Firestore security rules](https://cloud.google.com/firestore/docs/reference/security/) and [index definitions](https://cloud.google.com/firestore/docs/reference/rest/v1beta1/projects.databases.indexes). Name files with the extension `.rule` or `.rules` to activate. The priority for [additional rules language features](https://code.visualstudio.com/docs/extensionAPI/language-support) in roughly the order I'll get to them, if ever, is …

- [x] Syntax Highlighting
- [x] [Code Completions](#code-completions)
- [x] [Hover Definitions](#hover-definitions)
- [ ] Snippets
- [ ] Signature Helpers
- [ ] Incremental Formatting
- [ ] Rule validation (moonshot)

### Rules

![rules completions](./images/rules-completions.gif)

![rules hovers](./images/rules-hovers.gif)

### Index Definitions

![index completions](./images/index-completions.gif)

![index hovers](./images/index-hovers.gif)

# Status

See the [repository milestones](https://github.com/toba/vsfire/milestones) for issues I expect to resolve in coming releases.