如何在 Visual Studio Code 中禁用灯泡
我喜欢 Visual Studio Code,但我讨厌小灯泡.当您在 word 上 Ctrl+. 时,它似乎与下拉列表发生冲突.
I love Visual Studio Code but I hate the little lightbulb. It seems to clash with the dropdown when you Ctrl+. on word.
如何在 Visual Studio Code 中禁用灯泡?
How do you disable the lightbulb in Visual Studio Code?
只是为了澄清 - 我总是使用 Ctrl+..但是当我第一次尝试向下导航下拉菜单时,菜单消失,灯泡重新出现.然后我必须再次 Ctrl+. 向下下拉列表并获得我想要的选择.我只想禁用灯泡本身,而不是其他功能,例如快速修复.
Just to clarify - I always use the Ctrl+.. But on the first time when I try to navigate down the drop down menu the menu disappears and the lightbulb re-appears. I then have to Ctrl+. again to go down the drop down list and get the selection I want. I just want to disable the lightbulb itself, not other functionality such as the quick fixes.
您可以使用一个新选项来禁用它.转到您的设置文件并添加:
There's a new option that you can use to disable that. Go to your settings file and add:
"editor.lightbulb.enabled": false