Hi everyone, I’m new here - loving sublime so far but got a question:
How do I set extension mapping for files with chained extensions? For example:
.erb -> Rails HTML
.scss -> SASS
But I’d like:
.scss.erb -> SASS
Is that possible? Thanks!
Hi everyone, I’m new here - loving sublime so far but got a question:
How do I set extension mapping for files with chained extensions? For example:
.erb -> Rails HTML
.scss -> SASS
But I’d like:
.scss.erb -> SASS
Is that possible? Thanks!
Check out the SetSyntax plugin (https://github.com/SublimeText/SetSyntax) It should allow you to do that.
Just in case anyone else finds this, you can now just open a file with the right extension e.g. file.scss.erb and then click the syntax thing in the bottom right and select “Open all with current extension as…”