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

HTML Tag highlighting

New Here ,
Dec 21, 2016 Dec 21, 2016

Copy link to clipboard

Copied

Any solution to change automatic highlighting background color of selected (open and close) HTML-Tags? main.less doesn't work for me. If I change default settings of cm-brackets Class. In default is no contrast and it's too bad to read my own code.

Mac OS X Sierra, Dreamweaver latest version 2017.

Views

1.0K

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
community guidelines

correct answers 1 Correct answer

Adobe Employee , Dec 21, 2016 Dec 21, 2016

We would work on improving the contrast for this going forward, however this can be customized by defining the selector CodeMirror-matchingtag

Please paste the following towards the end of the main.less file and after applying you can customize the color as appropriate. 

.CodeMirror-matchingtag {

background: #8e8e8e;

}

Votes

Translate

Translate
Community Expert ,
Dec 21, 2016 Dec 21, 2016

Copy link to clipboard

Copied

Which theme are you using?

I use a Brackets Theme from GitHub.  So my code is different than the basic themes in DW.

See Reply #2 in this thread.

Re: DW2017 Token inspector not working?

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

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
community guidelines
New Here ,
Dec 21, 2016 Dec 21, 2016

Copy link to clipboard

Copied

Ok. I got it. But actually i dont wanna change any color. Sound confused, but if I select an HTML Tag, DW will select also the End-Tag. The font-color will be changed in #fff and the background-color (only inline - TAG). See my screenshot.Bildschirmfoto 2016-12-21 um 22.31.23.png

I want to change the color of the selectet tag (font) OR the background-color. Can you see the lower contrast? I'ts horrorable!

Thanks.

Votes

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
community guidelines
Adobe Employee ,
Dec 21, 2016 Dec 21, 2016

Copy link to clipboard

Copied

We would work on improving the contrast for this going forward, however this can be customized by defining the selector CodeMirror-matchingtag

Please paste the following towards the end of the main.less file and after applying you can customize the color as appropriate. 

.CodeMirror-matchingtag {

background: #8e8e8e;

}

Votes

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
community guidelines
New Here ,
Dec 22, 2016 Dec 22, 2016

Copy link to clipboard

Copied

LATEST

Yes! That's what I figured out as well! Than you.

Votes

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
community guidelines