Timeline for What happened to Groovy syntax highlighting?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 6, 2024 at 3:10 | comment | added | kriegaex | Like I said, there is Goovy support for Highlight.js, which could be incorporated in Stack Overflow's version. Groovy is also a popular language, e.g. Gradle, Spock and Micronaut are implemented in it, Jenkins scripting uses it etc. Why support exotic languages like Haskell, OCaml, Matlab, VHDL, but not Groovy? | |
| Dec 5, 2024 at 21:53 | comment | added | Sonic the Anonymous Hedgehog | Continuing, the reasons for the change was to prevent incorrect highlighting and because the maintainer of Highlight.js found it philosophically incorrect to highlight a language as something different when a language code was known to be unsupported by SE. The "fix" you saw here as well as the application of the status-completed tag was because at the time this question was posted, there was a bug that prevented the old (then-current) design of auto-highlighting unsupported identifiers from working correctly - that was fixed to work correctly again (then the design was later changed). | |
| Dec 5, 2024 at 21:48 | comment | added | Sonic the Anonymous Hedgehog | As far as the languages Stack Exchange supports and why it only supports a subset, it's explained in the syntax highlighting FAQ here. The changes you saw this year were in response to a requested feature change to make it so that identifiers not recognized by SE's Highlight.js would result in no highlighting instead of triggering an automatic language detection. The changes were mistakenly only implemented for the server-side renderer and not the client-side preview renderer, which is why it still appears to work in the preview (and as you saw, is detecting bash). | |
| Dec 5, 2024 at 20:08 | history | edited | Mr. Polywhirl | CC BY-SA 4.0 | deleted 47 characters in body |
| Dec 5, 2024 at 20:02 | history | edited | Mr. Polywhirl | CC BY-SA 4.0 | added 710 characters in body |
| Dec 5, 2024 at 19:52 | history | answered | Mr. Polywhirl | CC BY-SA 4.0 |