Skip to main content
Participant
Jul 5, 2022 6:17 PM UTC
Open for Voting

Syntax error bug

I cannot ALWAYS replicate this - but it seems that after several hours of use the syntax error checker starts to get buggy.

When the issue is happening, I might accidentally click the carriage return (Enter) button on my keyboard BEFORE typing the final semi-colon at the end of a variable declaration line.

This should correctly trigger the Syntax Error.

However, after backspacing or Ctrl+Z (Undo) to add the missing semi-colon, the syntax error never goes away.

Sometime I can get the error to clear itself and display as Valid with the green checkmark by deleting the semi-colon and retyping it again.

This is SOO annoying to work around because I will want to verify that there are no bugs, but cannot trust the error output.

Thank you for addressing this issue.

FYI - I am typing in PHP in a PHP file while encountering this issue.

3 replies

Nancy OShea
Community Expert
Community Expert
Jul 14, 2022 7:03 PM UTC

Have you tried disabling Linting from your Preferences?

 

 

Translate
Nancy O'Shea— Product User & Community Expert
Participant
Jul 14, 2022 3:30 PM UTC
Hi Nancy,
Yes. Of Course.
If you read the description of the problem, it displays the syntax error
until i backspace over the correct code and re-enter it again.
Sometimes this still doesn't clear the syntax bug.
Translate
Nancy OShea
Community Expert
Community Expert
Jul 5, 2022 6:33 PM UTC

Did you validate your code to ensure it contains no errors?

HTML https://validator.w3.org/

CSS https://jigsaw.w3.org/css-validator/

PHP https://phpcodechecker.com/

 

Translate
Nancy O'Shea— Product User & Community Expert