JSSON Syntax Highlighting
VS Code extension for JSSON (JavaScript Simplified Object Notation) syntax highlighting.
Installation
Via VS Code Marketplace
- Open VS Code
- Press
Ctrl+P
- Type:
ext install carlosedujs.jsson
Manual
- Clone this repository
- Copy the folder to
~/.vscode/extensions/
- Restart VS Code
Example
// Variables
api_url := "https://api.example.com"
// Objects
config {
name = "My App"
ports = 8080..8085
}
// Templates
users [
template { name, age }
John, 19
Mary, 25
]
// Map
items = (1..5 map (id) = { id = id })
Features
- Syntax highlighting for
.jsson files
- Keyword support:
template, map, zip
- Highlighting for operators, strings, numbers and comments
- Auto-closing brackets and quotes
- Custom icon for
.jsson files
About JSSON
JSSON is a language that transpiles to JSON, YAML, TOML and TypeScript.
License
MIT
| |