Copy link to clipboard
Copied
Tried following these instructions to add HTML color code to INC file extensions. I can't get it to work.
Add or edit recognized file extensions in Dreamweaver
Searched for Extensions.txt and found two files. INC extension has been added...
HTM,HTML,SHTM,SHTML,XHTML,STM,SSI,JS,JSON,APPCACHE,XML,XSL,XSD,DTD,RSS,RDF,LBI,DWT,ASP,ASA,ASPX,ASCX,ASMX,CONFIG,CS,CSS,SCSS,LESS,SASS,CFM,CFML,CFC,TLD,TXT,PHP,PHP3,PHP4,PHP5,PHP-DIST,PHTML,TPL,VB,INC,SQL,MASTER,SVG:All Documents
HTM,HTML,HTA,HTC,XHTML,INC:HTML Documents
Searched for MMDocumentTypes.xml and found two files. INC extension has been added...
<documenttype id="HTML" internaltype="HTML" winfileextension="html,htm,shtml,shtm,stm,tpl,lasso,xhtml,inc" macfileextension="html,htm,shtml,shtm,tpl,lasso,xhtml,ssi,inc" file="Default.html" writebyteordermark="false" mimetype="text/html">
Are there additional files that need to be updated?
Following these instructions for previous CC versions worked fine but since update, I can't get it to work.
Thanks!
Found this little tidbit on UserVoice from an Adobe engineer:
If you are trying to assign a code coloring to a document type so that user does not have to change the document type in status bar every time a file of that type is opened, then you can do that in Dw. I have showcased an example below
Example 1: To assign VBScript code coloring for all .asp files
1. Launch Dw
2. Open brackets.json from below path:
Mac: located in ~username/Library/Application Support/Adobe/Dreamweaver CC 2017/en_us/Conf
Copy link to clipboard
Copied
The information linked in the thread marked 'Correct Answer' worked for me...
Find and edit brackets.json
<USER>/AppData/Roaming/Adobe/Dreamweaver CC 2017/en_US/Configuration/Brackets
Add this to brackets.json
"language.fileExtensions": {
"inc": "html"
}
Be sure to add a comma to the end of the line above.
In my case,
"showSyntaxColoring": true,
"language.fileExtensions": {
"inc": "html"
}
Copy link to clipboard
Copied
This is really annoying, I'm trying to add a .cshtml extension to the file open menu and I can't do it. I've added the extension to the Extensions.txt file and it won't work. Anyone manage to get this working?
Copy link to clipboard
Copied
Found this little tidbit on UserVoice from an Adobe engineer:
If you are trying to assign a code coloring to a document type so that user does not have to change the document type in status bar every time a file of that type is opened, then you can do that in Dw. I have showcased an example below
Example 1: To assign VBScript code coloring for all .asp files
1. Launch Dw
2. Open brackets.json from below path:
Mac: located in ~username/Library/Application Support/Adobe/Dreamweaver CC 2017/en_us/Configuration/Brackets
Win: located in ~username/AppData/Roaming/Adobe/Dreamweaver CC 2017/en_us/Configuration/Brackets
3. Add below code at the end:
,"language.fileExtensions": {
"asp": "vbscript"
}
4. Save brackets.json and relaunch Dw
Result: All .asp files will be opened with VBScript code coloring
Find more inspiration, events, and resources on the new Adobe Community
Explore Now