Skip to content

a5huynh/vscode-ron

Repository files navigation

vscode-ron

vscode-ron is a RON syntax package for VS Code. Loosely based on https://github.com/ron-rs/sublime-ron

Where can I get this?

What is RON?

Rusty Object Notation (RON) is a simple readable data serialization format that looks similar to Rust syntax, designed to support all of Serde's data model. Check out the RON repository for more information!

Highlighting Example

Here's a lovely example of what a basic .ron file will now look like:

Syntax highlighting example

Development

Check out VS Code's excellent guide on syntax highlighting extensions here. That will help you get setup with the right tooling to start making/testing changes to the grammar.

Debugging extension

While in VSCode, press F5 (or Run -> Start Debugging) to launch a version of VSCode with the extension loaded.

Load ./docs/example.ron if you need an example RON file to work on.