BrianHCombes opened a new issue, #5149:
URL: https://github.com/apache/netbeans/issues/5149

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   When adding standard JSX format comments in a JSX block when developing in 
ReactJS an operand/syntax error occurs. 
   
   Proper comment form is as follows:  {/* This is a comment */}.
   
   This causes line error markers that clutter up the code space. 
   
   ![Comment Errors - Screenshot 2022-12-25 
230246](https://user-images.githubusercontent.com/21314458/209509766-9a4f71e2-7924-470d-b354-d89040dd8eca.jpg)
   
   This does not affect run time. It's simply a IDE environment issue.
   
   ### How to reproduce
   
   Simply create a code block of JSX.
   
   Add a comment line like so: {/* comment */}
   
   You should see this causes numerous error markers on numerous lines. 
However, the code will run fine.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 11 Pro
   
   ### JDK
   
   Java: 18.0.1.1; Java HotSpot(TM) 64-Bit Server VM 18.0.1.1+2-6
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to