Files
godot-vscode-plugin/syntaxes
David Kincaid cca25099c4 More Formatter Fixes (#672)
* Fix nodepath function highlighting/tokenization

* Reverted dangerous line removal behavior change

* Fix detection of match keyword vs .match() function

* Rearrange formatter options

* Fix option default value

* Add biome linter/formatter config file

* Fix linter errors

* Add system to supply custom config values in tests

* Remove unused variable

* Implement tests for both formatter options

* Clean up formatter option handling

* Fix extra space inserted in list of nodepaths

* Add token rules for square and curly braces
2024-06-29 16:08:24 -04:00
..
2024-06-29 16:08:24 -04:00

Helpful resources

You can find the regex syntax that VSCode uses here.

Creating and debugging regex

When creating regexes it is sometimes useful to test against a data set.

Regex101 allows for pretty good match testing. Unfortunately, it does not support the regex (Ruby) version that TextMate uses.

ExtendsClass's regex engine does support the Ruby variant, but the match testing experience is not as good. However, it automatically generates an FSM for your regex, which is very useful when debugging.