netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

[JS] Add JSX highlighting to (html) tagged template literals

Open NReib opened this issue 7 months ago • 1 comments

Description

The JS editor already supports inline JSX, so maybe it would be feasible to reuse it for template literals with a tagFunction name of "html", see screenshot. This would be especially useful for anyone working with the lit framework. I would be happy to work on a pull request for this if needed.

Image

Use case/motivation

No response

Related issues

No response

Are you willing to submit a pull request?

Yes

NReib avatar May 23 '25 21:05 NReib

Hey @NReib thx for the issue. I also encountered that. A PR would be great :).

Chris2011 avatar Jun 21 '25 08:06 Chris2011

@Chris2011 Yeah, I already had a look at it on my own. It seems more difficult than I had hoped...

NReib avatar Jun 26 '25 07:06 NReib

@NReib if you want, we can have a look together and find a possible solution :). Just send me a mail, you can find it in my github profile.

Chris2011 avatar Jun 26 '25 07:06 Chris2011

@Chris2011 I dont find any mail address in your profile, just a mastodon address

NReib avatar Jul 02 '25 13:07 NReib

Just follow me on X if possible or just write me on X. @NReib

Chris2011 avatar Jul 02 '25 14:07 Chris2011