brackets-archive / bracketsIssues

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

Get rid of hacks for detecting languages that use a CM mode configuration #12594

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by njx Friday Mar 28, 2014 at 21:51 GMT Originally opened as https://github.com/adobe/brackets/issues/7345


Currently, we have hacks in various places to deal with the fact that we can't easily map back from a CM mode configuration (e.g. CSS mode configured for LESS, or XML mode configured for HTML) to an actual language. We should work with Marijn to figure out a way for CM to expose to us what the actual specific MIME type is for a given location, as opposed to just giving us the main mode plus a configuration bag.

core-ai-bot commented 3 years ago

Comment by njx Friday Mar 28, 2014 at 21:51 GMT


To@peterflynn

core-ai-bot commented 3 years ago

Comment by njx Friday Mar 28, 2014 at 22:02 GMT


Examples of the hacks we have today: