brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

jsp syntax highlighting #13686

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by abhijith-gururaj Saturday Aug 27, 2016 at 12:39 GMT Originally opened as https://github.com/adobe/brackets/issues/12722


There is a bug in highlighting the JSP code in the HTML file. The syntax highlighting breaks after a relational operator has encountered. Check out the screenshot below.

screenshot 10

As you can see , the highlighting breaks after the relational operator in the first if statement.

core-ai-bot commented 3 years ago

Comment by ficristo Monday Aug 29, 2016 at 17:44 GMT


The problem is that jsp is recognized as html. IMO the right way to fix this is to create an extension that add JSP as a language. CodeMirror supports it, see https://codemirror.net/mode/htmlembedded/index.html