Skip to content
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

Warning and error underlines appear behind text #249

Closed
nhristova opened this issue Apr 22, 2024 · 1 comment
Closed

Warning and error underlines appear behind text #249

nhristova opened this issue Apr 22, 2024 · 1 comment

Comments

@nhristova
Copy link

Description

The squiggly lines indicating errors and warnings appear very close (even behind) the text. I tried modifying the line height and that improves the appearance a bit. However, when I switch the theme to Visual Studio Dark, even with line height set to 0, the underline is not that close (attached images below). Switched fonts, that didn't change anything.
I was not able to find another setting to modify this distance. Is there a way to change it?

Cobalt2
image

Visual Studio Dark
image

This is the config I use:

{
    "editor.fontLigatures": true,
    "cSpell.language": "en-GB,bg",
    "editor.fontFamily": "'Operator Mono Lig','Cascadia Code', 'JetBrains Mono', 'Fira Code', 'Victor Mono', Consolas, 'Courier New', monospace",
    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascriptreact]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "explorer.confirmDelete": false,
    "[json]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "editor.minimap.renderCharacters": false,
    "debug.showBreakpointsInOverviewRuler": true,
    "[html]": {
        "editor.defaultFormatter": "vscode.html-language-features"
    },
    "javascript.updateImportsOnFileMove.enabled": "always",
    "gitlens.views.tags.files.layout": "tree",
    "[typescript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "terminal.integrated.enableMultiLinePasteWarning": false,
    "prettier.arrowParens": "avoid",
    "[jsonc]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[scss]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[css]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "workbench.colorTheme": "Cobalt2",
    "editor.detectIndentation": false,
    "prettier.tabWidth": 4,
    "explorer.confirmDragAndDrop": false,
    "diffEditor.experimental.showMoves": true,
    "editor.guides.bracketPairs": true,
    "workbench.editor.wrapTabs": true,
    "window.zoomLevel": -0.5,
    "typescript.enablePromptUseWorkspaceTsdk": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode"
}
@palashmon
Copy link
Collaborator

Duplicate of #248

A fix for now: #248 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants