AtomMaterialUI / material-theme-issues

Issues Repository for the Material Theme UI plugin for JetBrains
Other
66 stars 4 forks source link

[Bug]: Incorrect/Dim Syntax Highlighting in CLion #294

Closed Yuanyang-Che closed 1 year ago

Yuanyang-Che commented 1 year ago

Describe the bug

In CLion, many Dark/Natural themes produces dim highlighting for function arguments, local variables, brackets, comments which makes it challenging to read.

Palenight

Screenshot 2023-01-03 at 9 13 32 PM

Deep Ocean

Screenshot 2023-01-03 at 9 13 53 PM

Oceanic

Screenshot 2023-01-03 at 9 13 13 PM

Frost

Screenshot 2023-01-03 at 9 14 32 PM

Volcano

Screenshot 2023-01-03 at 9 15 02 PM

To Reproduce

  1. Create a C++ executable project in CLion
  2. Select a Dark or Nature theme include but not limited to Oceanic, Palenight, Deep Ocean, Oceanic, Frost, Volcano.
  3. Write some code: create a function, declare some local variables, write some comments.
  4. The syntax highlight does not render many tokens in a very readable manner.

Expected behavior

Working Highlighting in Darker Theme

Screenshot 2023-01-03 at 9 21 47 PM

Github Dark Theme

Screenshot 2023-01-03 at 9 22 36 PM

Material Theme Version

v8.4.1

IDE

Other (AppCode, CLion, GoLang...)

System Info

CLion 2022.3.1
Build #CL-223.8214.51, built on December 20, 2022
Runtime version: 17.0.5+1-b653.23 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.1
Metal Rendering is ON
Registry:
    editor.focus.mode.color.light=005454
    ide.editor.tab.selection.animation=true
    debugger.new.tool.window.layout=true
    run.processes.with.pty=TRUE
    documentation.show.toolbar=true
    ide.new.editor.tabs.vertical.borders=true
    ide.experimental.ui=true
    ide.balloon.shadow.size=0
    editor.focus.mode.color.dark=005454

Non-Bundled Plugins:
    org.rust.lang (0.4.185.5086-223)
    IdeaVIM (2.0.0)
    idea.goyacc (0.1.0)
    indent-rainbow.indent-rainbow (2.1.0)
    com.chrisrm.idea.MaterialThemeUI (8.4.1)
    izhangzhihao.rainbow.brackets (2023.1.0)
    com.mallowigi (82.0.0)

Logs/Screenshots

No response

Yuanyang-Che commented 1 year ago

Found out the issue was caused by another plugin, Rainbow Brackets. Disable Rainbow Variables in that plugin fixed the issue.