如何在 Visual Studio Code 中禁用灯泡 [英] How to disable the light bulb in Visual Studio Code

查看:62
本文介绍了如何在 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

这篇关于如何在 Visual Studio Code 中禁用灯泡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆