vscode-language-renpy
vscode-language-renpy copied to clipboard
Missing highlighting for custom keywords
Extension version
2.1.2
Issue description
Custom defined expressions don't have highlighting for their keyword, nor associated keywords (i.e. expression
), for example:
Where jarg
is a variation on jump
which allows args, it'd be nice if custom expressions were consistent with builtins for how they're highlighted.
Scope inspector screenshots
Code
Definition code here: https://github.com/Monika-After-Story/MonikaModDev/pull/9413/files#diff-625c1ad3cf06b07c6a42d812c5faa1df8443d2bd22d8270fdc0e61d735021f02
For the in-rpy view:
label test:
call expression "dev_unit_test_jump_with_args_depth_2" pass ("a", "b")
jarg expression "dev_unit_test_jump_with_args_depth_2" pass ("brand_new_foo_value", "brand_new_bar_value")
"jarg" is not a valid RenPy keyword. Is it a creator defined statement? The extension doesn't have a lot of support for those yet.
Yes, that is what I meant by custom keyword, I guess in a sense this is more of a feature req, my mistake