Highlighted

HTML (Liquid) Syntax Highlighting Needed for Dreamweaver

Contributor ,
Nov 28, 2017

Copy link to clipboard

Copied

I would like to see Dreamweaver implement Liquid Syntax Highlighting like the one for Sublime Text here: https://github.com/siteleaf/liquid-syntax-mode or similar with auto completion snippets built in. Something like a mixed document type of HTML(Liquid).  It would be great if we could map documents with specific extensions to other doc types. For example, when developing sites on Adobe Business Catalyst, I often save files with the .inc extension.  Dreamweaver by default recognizes these as text documents with no syntax highlighting. Every time I open the document I have to manually switch the document type to HTML.  If I could map .inc extension as HTML doc type, that would be awesome, or better yet as HTML(liquid) doc type.

Thanks for the tip! I posted in the ideas Forum.  Please visit and vote if you think it's a good idea!

Liquid Syntax Hybrid Mode with HTML and Coloring – Adobe Dreamweaver CC: Feature Ideas

Views

1.1K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

HTML (Liquid) Syntax Highlighting Needed for Dreamweaver

Contributor ,
Nov 28, 2017

Copy link to clipboard

Copied

I would like to see Dreamweaver implement Liquid Syntax Highlighting like the one for Sublime Text here: https://github.com/siteleaf/liquid-syntax-mode or similar with auto completion snippets built in. Something like a mixed document type of HTML(Liquid).  It would be great if we could map documents with specific extensions to other doc types. For example, when developing sites on Adobe Business Catalyst, I often save files with the .inc extension.  Dreamweaver by default recognizes these as text documents with no syntax highlighting. Every time I open the document I have to manually switch the document type to HTML.  If I could map .inc extension as HTML doc type, that would be awesome, or better yet as HTML(liquid) doc type.

Thanks for the tip! I posted in the ideas Forum.  Please visit and vote if you think it's a good idea!

Liquid Syntax Hybrid Mode with HTML and Coloring – Adobe Dreamweaver CC: Feature Ideas

Views

1.1K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 28, 2017 0
Adobe Community Professional ,
Nov 29, 2017

Copy link to clipboard

Copied

Make sure to post over in the Ideas Forum: Adobe Dreamweaver CC: Feature Ideas so people can vote on your idea and the development team can see it (they rarely ever visit the user-to-user forums). If enough people like the idea and up-vote it, the dev team may find their way to add it to the program.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 29, 2017 1
Contributor ,
Nov 29, 2017

Copy link to clipboard

Copied

Thanks for the tip! I posted in the ideas Forum.  Please visit and vote if you think it's a good idea!

Liquid Syntax Hybrid Mode with HTML and Coloring – Adobe Dreamweaver CC: Feature Ideas

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 29, 2017 0
Adobe Community Professional ,
Nov 29, 2017

Copy link to clipboard

Copied

I gave it a thumbs up vote.  I think it's a good idea particularly since Business Catalyst uses liquid.  It makes a lot of sense that Adobe's code editor should support more file types.

In the meantime, see if this helps you.

Add or edit recognized file extensions in Dreamweaver

Nancy

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 29, 2017 1
Contributor ,
Nov 29, 2017

Copy link to clipboard

Copied

Thanks for the vote Nancy!

I tried editing the extensions.txt file, but I didn't see any difference. My .inc files are still defaulting to text and I don't see these extensions that I've added in the extensions.txt file in the Dreamweaver document type list.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 29, 2017 0
Adobe Community Professional ,
Nov 29, 2017

Copy link to clipboard

Copied

Did you edit the Brackets JSON files, too?

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 29, 2017 0
Contributor ,
Nov 29, 2017

Copy link to clipboard

Copied

Just did, but still no difference.  This is what I have done so far. I added INC,LIQUID,TPL to the All Documents line in Extensions.txt

http://prntscr.com/hh1tw8

Then, I added inc, tpl, liquid to winfileextension and macfileextension for HTML in MMDocumentTypes.xml.

http://prntscr.com/hh1wpr

Lastly, I added 'language.fileExtensions":{".inc,.tpl,.liquid": "html" } to brackets.json.

http://prntscr.com/hh1wu7

I saved all the files and then restarted Dreamweaver

This is what I see in Dreamweaver when I open a .inc file

http://prntscr.com/hh1x7k

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 29, 2017 0
Adobe Community Professional ,
Nov 29, 2017

Copy link to clipboard

Copied

It may be opening as text but can you change it to HTML from the list?

Nancy

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 29, 2017 0
Contributor ,
Nov 29, 2017

Copy link to clipboard

Copied

Yes, I can. But I was able to do that before editing these files. The problem is that I can change it but when I close and re-open it, I have to change it again. It keeps defaulting to text for .inc instead of recognizing it as html and defaulting to that. This is still the case even after editing the configuration files.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 29, 2017 0