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

How to disable bracket highlighting?

New Here ,
Sep 25, 2019 Sep 25, 2019

Copy link to clipboard

Copied

Hello everybody!

Is there any way to disable bracket highlighting in DW?

 

brackets.png

 

All ideas welcome!

Thanks in advance!

Views

553

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

Community Expert , Sep 25, 2019 Sep 25, 2019

You can turn it off, but it's kind of a pain...

1. Go to Edit > Preferences > Interface
2. Click the theme you're using, then the + icon to make a duplicate of it (you can't edit default themes directly)
3. Verify the duplicate theme is selected and click the edit button (pencil icon)
4. Look for the line with the class .CodeMirror-matchingbracket, .CodeMirror-matchingtag and separate them into two classes. (Around line 247 in the Dark theme)

5. Now, if you want to disable all matching brackets and t

...

Votes

Translate

Translate
Community Expert ,
Sep 25, 2019 Sep 25, 2019

Copy link to clipboard

Copied

You can turn it off, but it's kind of a pain...

1. Go to Edit > Preferences > Interface
2. Click the theme you're using, then the + icon to make a duplicate of it (you can't edit default themes directly)
3. Verify the duplicate theme is selected and click the edit button (pencil icon)
4. Look for the line with the class .CodeMirror-matchingbracket, .CodeMirror-matchingtag and separate them into two classes. (Around line 247 in the Dark theme)

5. Now, if you want to disable all matching brackets and tags highlighting, change the background-color to transparent. If you only want to affect brackets, you'll need to single out the coma separated classes into two, leaving the color settings on the matchingtag version and changing the matchingbracket one to transparent.  

6. Save
7. Go back to Edit > Preferences > Interface and click your new theme, then click Apply

Personally, I would leave the highlighting, maybe make it a less annoying color if it's bothering you. It's a fairly simple way to see if your brackets and tags are matched the way they need to be while coding. It allows you some degree of debugging that Adobe took out when they changed error reporting in the Linting feature to run only after the document is saved.

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 ,
Sep 26, 2019 Sep 26, 2019

Copy link to clipboard

Copied

Great! It works!

Never needed or understood that highlighting, it only made my cursor impossible to see. 

I changed the color to light yellow. Less disturbing and maybe I learn to use that, too.

 

yellowcursor.png

 

Once again, 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
Community Expert ,
Sep 26, 2019 Sep 26, 2019

Copy link to clipboard

Copied

LATEST
Some of the code coloring choices Adobe made in the default themes are pretty terrible. Glad you got it working the way you like.

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