brackets-archive / bracketsIssues

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

[CLOSED] Script block with unquoted 'type' attribute has no JS syntax highlighting #5006

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by capolino Tuesday Oct 08, 2013 at 19:50 GMT Originally opened as https://github.com/adobe/brackets/issues/5451


Hello, my name is Kevin. I am writing this comment to tell you of script that has not been added to the program and that would add to the efficiency and ease of use of the program. There is no Js syntax highlighting when you are editing a HTML doc. There are themes that can help with this with the "Themes" plugin (Very useful plugin btw, should be implemented) but not all of them, and the ones that do are very eye-sore-ish and not something that I want to be looking at when I'm sitting and programming for hours on-end. Here is a link to a screen shot of the problem with the default Brackets theme: http://puu.sh/4L2Ix.png Here it is in the theme that I use: http://puu.sh/4L2zI.png

Thank you, --Kevin

core-ai-bot commented 3 years ago

Comment by peterflynn Tuesday Oct 08, 2013 at 19:51 GMT


I can confirm, repros without Themes plugin as well. And repros in a vanilla CodeMirror demo.

core-ai-bot commented 3 years ago

Comment by peterflynn Tuesday Oct 08, 2013 at 19:52 GMT


Clarified title (was: "Js syntax highlighting")

core-ai-bot commented 3 years ago

Comment by njx Monday Oct 14, 2013 at 18:27 GMT


To@RaymondLim to file a CodeMirror bug (and maybe submit a fix if it's easy).

core-ai-bot commented 3 years ago

Comment by le717 Saturday Feb 21, 2015 at 05:47 GMT


@RaymondLim This issue can be closed. JavaScript is syntax highlighted when embedded into an HTML document using <script> tags (as seen in the following image), I've seen this behavior for as long as I can remember, whenever I started using Brackets around February 2014.

syntax highlighting

core-ai-bot commented 3 years ago

Comment by ficristo Friday Sep 23, 2016 at 18:38 GMT


With 1.8 <script type > should also work.