styled-components / vscode-styled-components

Syntax highlighting for styled-components
MIT License
917 stars 118 forks source link

How to disable reference mdn #348

Open njavilas2015 opened 2 years ago

njavilas2015 commented 2 years ago

Good evening I would like to know how disabling the documentation popup is somewhat tedious image

Edit in vscode go to preference mdn

image

VxMxPx commented 2 years ago

Sadly, even after setting:

    "html.hover.references": false,
    "less.hover.references": false,
    "scss.hover.references": false,
    "css.hover.references": false,
    "css.hover.documentation": false,
    "less.hover.documentation": false,
    "scss.hover.documentation": false

Seems to be bug. Maybe this should be reopened.

jasonwilliams commented 2 years ago

The Deno typescript plugin is able to get access to the editor config so it must be possible: https://github.com/denoland/vscode_deno/blob/main/typescript-deno-plugin/src/index.ts#L24-L26

Hopefully someone has time to work a similar solution into the typescript styled plugin

robbpage commented 4 months ago

I am convinced that this is some sort of sadistic thing for someone on the vs code team. people have been complaining about this bug for years and yet it's still in there. It HAS to be intentional because otherwise we have to accept that the team that built vs code, an overall solid piece of software, somehow can't manage to remove an EXTREMELY simple bug.

pathetic.