wizard04wsu / javascript-regex

Improved syntax highlighting for JavaScript regular expressions in Atom
MIT License
0 stars 0 forks source link
atom atom-package javascript parser regex regexp regular-expressions syntax syntax-highlighting syntax-tree

javascript-regex

Improved syntax for JavaScript regular expressions, with syntax highlighting.

regex2

This package implements two tree-sitter parsers:

Troubleshooting

If you're unable to install the package on Windows:

Instead of installing it from within Atom, close Atom and try from the command line.

cd /d %USERPROFILE%\.atom\packages
rmdir /s /q javascript-regex
apm install javascript-regex

If there's a failure loading the grammars when you open Atom:

Whenever Atom is updated, this package needs to be rebuilt. Either click the red bug icon in the bottom-right corner of the window, or execute Incompatible Packages: View via the command palette. Then, click "Rebuild Packages". You'll have to restart Atom.

If anyone has a better solution, please let me know.