From 8d01b41d456812d3914ba287168a8798d88fd276 Mon Sep 17 00:00:00 2001 From: duckdoom4 <60387522+duckdoom4@users.noreply.github.com> Date: Wed, 10 Jul 2024 10:58:09 +0200 Subject: [PATCH] Add contributing tips --- Contributing.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Contributing.md b/Contributing.md index 7352adc..3be1b3e 100644 --- a/Contributing.md +++ b/Contributing.md @@ -32,6 +32,28 @@ If you want to add new features, please make sure to discuss it in an issue. 5. Make your changes and submit a pull request with `develop` as your target branch 6. Happy coding! 🚀 +Tips: + +If you're working on syntax features, add the following textmate rule to your vscode `settings.json` file: + +```json +"editor.tokenColorCustomizations": { + "textMateRules": [ + { + "scope": "debug.invalid.illegal.unmatched.renpy", + "settings": { + "foreground": "#f00" + } + }, +} +``` + +This will make any unmatched tokens red. + +Use ctrl+alt+shift+i to display the vscode build-in token debug information. + +https://regexr.com will be your new best friend. + ## Additional Information ### Extension Versions