I am using files with .html.eco extension in my web project and I am trying to edit in Adobe Brackets but I can't specify that it should treat this as HTML file, to provide the typical features of editing html file (like color support, grammar, etc.).
In fact I noticed that this is possible when changing languages.json file, however I am using the binary version and I didn't build from source.
https://github.com/adobe/brackets/blob/master/src/language/languages.json
Any help ?
Brackets has a major focus on development in JavaScript-enabled, CSS and HTML. With release of version 1.0, Adobe announced a feature that extracts design information from a PSD file for convenience of coding in CSS. As of June 28, 2016, the feature is officially discontinued, due to low usage.
Open the adobe brackets editor. Click on the file and then click on the Extension Manager or directly click on the extension button in the top right corner. Then click on the extension button and search for Emmet. Click on the Install button.
Locate the folder with the name as htdocs inside the XAMPP installation. Create your PHP Project Folder here with any name such as myphpproject. Go to Brackets editor and navigate to File -> Open Folder and open the myphpproject folder. The shortcut is Ctrl + Alt + O.
Update: this is now much easier to do:
Original answer:
There's a backlog item for making this easily configurable (please upvote!), but in the meantime you can do it by writing a very simple Brackets extension:
define(function (require, exports, module) {
var LanguageManager = brackets.getModule("language/LanguageManager");
var language = LanguageManager.getLanguage("html");
language.addFileExtension("html.eco");
});
user
, and place the main.js file inside itHere's more info on writing Brackets extensions, if you're curious.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With