Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

More Specific Code Coloring in DW2017

Community Beginner ,
Dec 22, 2016 Dec 22, 2016

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.

ThisSucks.jpg

1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jan 03, 2017 Jan 03, 2017
Translate
Community Expert ,
Dec 22, 2016 Dec 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 & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 22, 2016 Dec 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 22, 2016 Dec 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 & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 22, 2016 Dec 22, 2016

That is what I was afraid of   That is not a very user friendly feature. I have used your tool to customize the colors in DW2017 and main.less but without the ability to specify specific tags it is quite useless and makes navigating thousands of lines of code very difficult.

Thank you for your quick reply

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 22, 2016 Dec 22, 2016

That is what I was afraid of That is not a very user friendly feature. I have used your tool to customize the colors in DW2017 and main.less but without the ability to specify specific tags it is quite useless and makes navigating thousands of lines of code very difficult.

I don't make the software.  I'm a product user just like you.

If code colors are a deal breaker for you, go back to the 2015 version.

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 22, 2016 Dec 22, 2016

skynet.abc wrote (in reply to Nancy):

I have used your tool

Nancy wishes. Unfortunately, most of the people using this Adobe sponsored forum are users just like you. We give up our time free of charge in an effort to help each other.

In your case, I would suggest that you place your comments where it matters by submitting a feature request.

Have a great holiday season.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 22, 2016 Dec 22, 2016
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 03, 2017 Jan 03, 2017
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 28, 2020 Jun 28, 2020
LATEST

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

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