Skip to main content
Participant
July 5, 2022

Syntax error bug

  • July 5, 2022
  • 3 replies
  • 249 views

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
July 14, 2022

Have you tried disabling Linting from your Preferences?

 

 

Nancy O'Shea— Product User & Community Expert
Participant
July 14, 2022
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.
Nancy OShea
Community Expert
Community Expert
July 5, 2022

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/

 

Nancy O'Shea— Product User & Community Expert