question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Matched brace setting reset

See original GitHub issue

Your programming language(s)

Python, Terraform, Bash

Expected Behavior

Changing the Matched Brace setting under Editor > Color Scheme > General should be retained after restarting IntelliJ.

Current Behavior

The Matched brace setting is reset when Rainbow Brackets is enabled and IntelliJ is restarted. Disabling Rainbow Brackets fixes this issue (the setting is retained through restarts after disabling Rainbow Brackets).

Possible Solution

I tried 2019.1, 2019.1-jbr11, 2019.2, and 2019.2-jbr8. None of these fixed it.

I tried the other recommended solution posted here:

# cat  ~/Library/Preferences/IdeaIC2019.1/options/rainbow_brackets.xml
<application>
  <component name="RainbowSettings">
    <option name="customNotifyShowed" value="true" />
    <option name="overrideMatchedBraceAttributes" value="false"/>
    <option name="version" value="5.21" />
  </component>
</application>

Code snippet for reproduce (for bugs)

Any code will do:

print('hi')

Example setting that would not be retained for the Matched brace setting:

Background color: 000000 Effects: FFFFFF (Bold Underscored)

Your Environment

  • Plugin version: 5.21
IntelliJ IDEA 2019.1.4 (Community Edition)
Build #IC-191.8026.42, built on July 30, 2019
JRE: 11.0.2+9-b159.64 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.6

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
izhangzhihaocommented, Aug 24, 2019

Please try this snapshot: intellij-rainbow-brackets-5.21.zip

0reactions
izhangzhihaocommented, Aug 24, 2019

Snapshot updated, please download and give a try.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Syntax Highlighting Matching Brace background gets reset
Settings ->Editor->Syntax Highlighting->Matching brace (background color): is getting reset. You can only notice this when the background is ...
Read more >
Highlighting of matching code elements - JetBrains Rider
To disable it, clear Matched brace on the Editor | Code Editing page of JetBrains Rider settings Ctrl+Alt+S .
Read more >
issue with brace matching - Microsoft Q&A
Hi, Brace matching in Visual Studio 2019 is not working for me. I tried changing colors from Tools -> Options -> Fonts and...
Read more >
How do I change matching brackets color's highlighting in ...
I've found Settings => Editor -> Code Editing -> Matched Brace but I want to keep the highlighting, and change it's color. And...
Read more >
Brace matching in C# - Visual Studio Video Tutorial - LinkedIn
This tip show how to enable brace matching, how to navigate between braces, ... So let me show you how to change those...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found