Skip to content

Visual Studio Code syntax highlighting for the Mosaic programming language.

License

Notifications You must be signed in to change notification settings

pluckyporcupine/vscode-mosaic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-mosaic

This is an extremely basic Mosaic syntax highlighter for Visual Studio Code. It uses code and ideas from both the Prisma Visual Studio Code extension and the Felix Atom extension.

Installation

To install, simply drag the repo folder to C:\Users\username.vscode\extensions and restart Visual Studio Code.

Notes

This is not a particularly refined syntax highlighter, so there will likely be issues. I have little experience writing regexes and leaned heavily on the prior two examples for help with getting the basics right. I have also simply borrowed the numeric regex from the latter.

Notable missing features include:

  • Syntax highlighting for variables.
  • Syntax highlighting for user-defined records and types in declarations.
  • Proper automatic closing statements for if and do blocks.

Despite that, this should at least be a good start. Improvements will be ongoing as I find time.

The Mosaic Language

You can find more info about Mosaic here and here.

About

Visual Studio Code syntax highlighting for the Mosaic programming language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published