-
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: 4 comments 5 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.
-
Extremely frustrated - the suggestions don't work. I use .shtml files extensively, and cannot get phoenix to show live preview. Just get "Nothing to display" Error page instead. PLEASE PLEASE do you have a fix? Modified both phcode.json, and created a .brackets.json within the project without any luck without any luck. in the io.phocode folder - file phcode.json: { } |
Beta Was this translation helpful? Give feedback.
-
Thanks Arun,
I’ve been checking for the newer version with the .shtml fix for windows but have not seen it yet.
From: Arun Bose ***@***.***>
Sent: Tuesday, July 2, 2024 4:04 AM
To: phcode-dev/phoenix ***@***.***>
Cc: r3g3talk ***@***.***>; Comment ***@***.***>
Subject: Re: [phcode-dev/phoenix] Ability to assign language aliases in the configuration (Discussion #764)
We have just added shtml support for live preview a few days back #1727 <#1727>
It should be available in july release
—
Reply to this email directly, view it on GitHub <#764 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AYTOK5DKTHQ2B4GZOVNNGV3ZKJNGHAVCNFSM6AAAAABKEMGGVOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSMZTGQ2TC> .
You are receiving this because you commented.Message ID: ***@***.***>
|
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