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
There seems to be a bug with the syntax highlighting. I'm not sure what's going on here, but this is not the first time I've seen a problem like this. My former IDE (Adobe Brackets) had this same issue.
Input
The code looked like this before beautification:
varvariable;if(someCondition()){variable=4}varresult=`The result is ${valuable??5}`;functionsomeFunction(a){// do something with `a`returna}
Expected Output
The code should have looked like this after beautification:
Actual Output
The code actually looked like this after beautification:
Environment
OS: Windows 10 (10.0.19044)
Browser: Google Chrome Version 105 (105.0.5195.127)
Highlights on the site are provided by CodeMirror and not part of this project. We are using an older version, so this might be fixed already somewhere.
The failed highlight just means that that component doesn't understand the nullish operator.
Description
There seems to be a bug with the syntax highlighting. I'm not sure what's going on here, but this is not the first time I've seen a problem like this. My former IDE (Adobe Brackets) had this same issue.
Input
The code looked like this before beautification:
Expected Output
The code should have looked like this after beautification:
Actual Output
The code actually looked like this after beautification:
Environment
OS: Windows 10 (10.0.19044)
Browser: Google Chrome Version 105 (105.0.5195.127)
Settings
The text was updated successfully, but these errors were encountered: