Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Syntax error bug

New Here ,
Jul 05, 2022 Jul 05, 2022

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.

Bug Unresolved
TOPICS
Code , Error , Product issue , Server side applications
244
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
3 Comments
Community Expert ,
Jul 05, 2022 Jul 05, 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 & Moderator
Translate
Report
New Here ,
Jul 14, 2022 Jul 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.
Translate
Report
Community Expert ,
Jul 14, 2022 Jul 14, 2022
LATEST

Have you tried disabling Linting from your Preferences?

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report