New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White background hides quoted code blocks #1620
Comments
Thank you for reporting this. I managed to reproduce something similar to your video when I used a light theme with the VibraInk Editor theme. Did you consider a "Dark" theme when using the "VirbraInk" Editor color theme? Here's the screenshot of the settings I have tested when I didn't have problems in the editor: Can you please share your settings in that dialog "Appearance & Behavior" -> "Appearance"? |
Yes, I actually shifted to the Dark theme from the Light one. No problems with the dark themes, but only with the light ones. Unfortunately I had to reinstall my os for another unrelated problem, so I currently have default settings in Webstorm. |
I found that the AsciIDoc plugin picked the background color or the light theme where it should have picked the color of the dark theme as some function was looking for the theme of the IDE and not the editor. This will be fixed in the next release of the plugin, and I'll post a note here once a preview version is available. In the meantime, when using a dark theme for the editor, use it with a dark theme of the IDE. |
…or for monospaced contents in the editor (#1620)
Great to hear ! Thank you for the awesome work ! |
Observed vs. expected behavior
In webstorm, I get annoying background when using
these code quotes
: "`".They overlap the quotes and appear only in asciidoc editor. It seems I can't control neither the color nor the behavior in the intelliJ settings .
I get this issue for any
theme
andcolor scheme
combination.Modifying the
asciidoc color scheme
entries and setting a black background doesn't help, as after a few milliseconds after each keypress, the white background appears again.So I think this behavior is neither derived from a theme nor a color scheme, I think it's shipped within the plugin.
The problem is that when using a dark color scheme, the background color becomes almost white, and I can't see the text.
As a workaround, I can modify asciidoc color scheme and set the foreground text to black.
But then:
Steps to reproduce
Any adoc containing code quotes "`" works.
Shows the unreadable and flickery rectangles as well as the color scheme where no background is set
weird_background_adoc_webstorm_light_theme_dark_color.webm
Before
After setting foreground to black in asciidoc color scheme
Environment
Plugin Version: 0.41.14
IntelliJ Details: WebStorm 2023.3.3
Build #WS-233.14015.89, built on January 23, 2024
Runtime version: 17.0.9+7-b1087.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.5.0-28-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 3938M
Cores: 16
Registry:
debugger.new.tool.window.layout=true
run.configuration.max.name.length=180
ide.experimental.ui=true
eslint.additional.file.extensions=svelte
run.anything.context.recent.directory.number=15
Non-Bundled Plugins:
de.netnexus.camelcaseplugin (3.0.12)
com.intellij.properties (233.11799.172)
dev.meanmail.plugin.nginx-intellij-plugin (2022.1.1)
XPathView (233.11799.188)
com.intellij.aqua (233.14015.147)
org.asciidoctor.intellij.asciidoc (0.41.14)
de.timo_reymann.intellij-mjml-support (3.3.0)
dev.blachut.svelte.lang (233.14015.23)
Current Desktop: ubuntu:GNOME
The text was updated successfully, but these errors were encountered: