Open core-ai-bot opened 3 years ago
Comment by haslam22 Monday Apr 10, 2017 at 16:45 GMT
I can't reproduce. Tried mapping *.scss.liquid
and *.js.liquid
to scss
and javascript
as default, reloaded, and both files with those extensions open in scss
/javascript
mode as expected.
Your preferences also seem wrong, put both mappings under languages.fileExtensions
instead:
"language.fileExtensions": {
"js.liquid": "javascript",
"scss.liquid": "scss"
}
Issue by ConduciveMammal Friday Apr 07, 2017 at 13:13 GMT Originally opened as https://github.com/adobe/brackets/issues/13281
Prerequisites
Debug -> Reload Without Extensions
?For more information on how to write a good bug report read here For more information on how to contribute read here
Description
Attempting to change my default language syntax highlighting for double-barrelled file extensions. I do a lot of Shopify development which uses it's own
.liquid
file extension, but when working on Liquid-powered JS/CSS/SCSS files, the extensions retain their old extension:*.js.liquid
,*.css.liquid
,*.scss.liquid
.So, using a plugin,
*.liquid
files are highlighted as Liquid files, but I want SCSS/JS/CSS-powered Liquid files to follow their original extension highlighting.Here is everything that's in my
brackets.json
document. `{ "fonts.fontSize": "14px",Versions
Linux Ubuntu Brackets 1.9