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
JSX code is incorrectly highlighted (the element's inner content is being tokenised).
Expected Behavior
None of the words in the inner content of the elements should be highlighted.
GitHub's JSX syntax highlighting shows it best:
import*asReactfrom"react";exportdefault()=>{return(<divvariant="p">
When you launch an instance, the instance class that
you specify determines the hardware of the host
computer used for your instance. Each instance class
offers different compute, memory, and storage
capabilities. Choose an instance class based on the
requirements of the application or software that you
plan to run on your instance.
</div>);}
import*asReactfrom"react";exportdefault()=>{return(<divvariant="p">
When you launch an instance, the instance class that
you specify determines the hardware of the host
computer used for your instance. Each instance class
offers different compute, memory, and storage
capabilities. Choose an instance class based on the
requirements of the application or software that you
plan to run on your instance.
</div>);}
Possible Solution
Fix the JSX highlighting rules.
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
Ace Version 1.32.3 (latest)
The text was updated successfully, but these errors were encountered:
Describe the bug
JSX code is incorrectly highlighted (the element's inner content is being tokenised).
Expected Behavior
None of the words in the inner content of the elements should be highlighted.
GitHub's JSX syntax highlighting shows it best:
Reproduction Steps
JSX
Possible Solution
Fix the JSX highlighting rules.
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
Ace Version 1.32.3 (latest)
The text was updated successfully, but these errors were encountered: