-
It would be very useful (at least for Kitten apps) to be able to configure Phoenix to alias certain file types to supported ones. e.g.,
Maybe something like: "aliases": [
{
".page": ".js",
".script": ".js"
}
] You can do this from the drop-down in status bar of the interface and there’s even an option to set it for all files of the given type but that option doesn’t seem to make it sticky or make it apply to other files in the current project even. (At least it didn’t when I was testing it in Ungoogled Chromium.) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Thanks For the question @aral
{
"language.fileExtensions": {
"page": "javascript",
"script": "javascript"
},
"language.fileNames": {
"someFileName": "python"
}
} |
Beta Was this translation helpful? Give feedback.
-
Thanks. That’s good to know but it would be a hassle to have to do that per project. (I’m thinking of using Phoenix for education so having students configure their editor as step one is the last thing I want to do and hence why I’m looking into a web-based editor.) :) Is there any chance this could be considered at an editor preference that’s used on every project? |
Beta Was this translation helpful? Give feedback.
Thanks For the question @aral
This is already supported via project preferences:
https://github.com/adobe/brackets/wiki/Language-Support#preferences
.brackets.json