You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A multi-line say statement containing the '$' character, (Note sofia is a character, tip is an integer variable.), such as:
sofia "Lets see how you made out with tips this evening.
A very respectable $[tip] you've earned!"
incorrectly reported a warning:
"$" starts a one-line Python statement, but was found in the middle of the line.
In an ideal world this would by identified as a multi-line RenPy say statement, not a Python one, and not flag this as a warning.
If this is not possible, a way to disable this specific warning would be useful.
Note: If the what text containing a $ is on a single line, no warning is reported.
Scope inspector screenshots
Code
sofia "Lets see how you made out with tips this evening.
A very respectable $[tip] you've earned!"
The text was updated successfully, but these errors were encountered:
Thanks for the report, that's definitely a bug that should be fixed. It's a bug in the diagnostics section of the extension.
A simple update to the regex to detect strings should do.
Extension version
2.0.16, 2.1.17
Issue description
A multi-line say statement containing the '$' character, (Note
sofia
is a character,tip
is an integer variable.), such as:incorrectly reported a warning:
"$" starts a one-line Python statement, but was found in the middle of the line.
In an ideal world this would by identified as a multi-line RenPy say statement, not a Python one, and not flag this as a warning.
If this is not possible, a way to disable this specific warning would be useful.
Note: If the what text containing a
$
is on a single line, no warning is reported.Scope inspector screenshots
Code
The text was updated successfully, but these errors were encountered: