Skip to main content
Participant
December 22, 2016
Answered

More Specific Code Coloring in DW2017

  • December 22, 2016
  • 3 replies
  • 1028 views

In main.less, is there a way to be more specific with coloring code, something like the attached picture?  The idea that all tags in a code type are colored the same makes for a lot of painful searching.

This topic has been closed for replies.
Correct answer Preran

I also suggest upvoting this request on uservoice

More specific code coloring in DW2017 – Adobe Dreamweaver CC: Feature Ideas

3 replies

Participating Frequently
June 28, 2020

Hi All,

 

We have started working on “Code Color Customization” improvements by adding support for customization of generic and language specific colors.


We have further stabilized the code coloring feature in our latest Prerelease build 15333.


You can refer to below thread for more details on code coloring customization improvements.
https://forums.adobeprerelease.com/dwalpha/discussion/467/dreamweaver-build-15333-is-now-available#l...

 

Please join Dreamweaver beta program from below link and try out the feature.

https://www.adobeprerelease.com/beta/9EB451B5-D2E8-46E5-AFA2-78C85442FFA2/participate/CD0C95AA-6274-...

 

Please go ahead and try out the build and let inflow your thoughts/suggestions. Looking forward to your valuable feedback.

 

Thanks


Dreamweaver Team

Participant
December 22, 2016
Preran
Community Manager
PreranCommunity ManagerCorrect answer
Community Manager
January 3, 2017
Nancy OShea
Community Expert
Community Expert
December 22, 2016

What are you specifically tying to target in your PHP code theme? 

Can you paste an example of the PHP code you're using and what you want to change that you can't?

Nancy O'Shea— Product User & Community Expert
Participant
December 22, 2016

<!doctype html>

<html>

  <head>

  <meta charset="utf-8">

  <title>Some Document</title>

  </head>

  <body>

  <div>

  <form method="post" action="<?=$_SERVER['PHP_SELF']?>">

  <label>

  Name

  <br>

  <input type="text" name="name" style="color:#282828"/>

  </label>

  <button>

  Save

  </button>

  </form>

  </div>

  </body>

</html>

I would like to be able to have each one of these tags as a different color as well as the CSS on the inline styling, attributes, strings, etc... Kind of like this example.

Nancy OShea
Community Expert
Community Expert
December 22, 2016

As far as I know, that's not possible.  .cm-tag is universal -- effecting the code color of all such tags.

Learn how you can customize the colors of your code elements in Dreamweaver.

Below, I opened your code in Chrome with the Token Inspector tool.  As you can see, the .cm-tag highlights all the tags.

Nancy O'Shea— Product User & Community Expert