mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-02-26 00:53:27 +03:00
* 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
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.