ruby 如何确定一个类似智能的建议来自哪里?(并抑制它)

omhiaaxx  于 5个月前  发布在  Ruby
关注(0)|答案(1)|浏览(47)

此问题在此处已有答案

How can I find out which extension contributes a specific suggestion in VS Code and whether it can be changed by a setting?(2个答案)
Delete a specific Intellisense suggestion in VS Code(2个答案)
16天前关闭
在编写Ruby代码时,每当光标点击end语句(类似智能感知)时,就会出现以下建议:


的数据
这是非常恼人的(打破了流,因为它必须逃脱)和无用的。我不知道在哪里或什么扩展它来自。
我如何确定是哪个插件注入了这个建议?
然后我怎么才能关掉它

cetgtptt

cetgtptt1#

在你的settings.json文件中-你可以控制哪个插件正在推荐-我的有以下内容:

"editor.quickSuggestions": null // use rubocop for formatting
"ruby.intellisense": "rubyLocate",

字符串
禁用intellisense功能的按钮将由这些设置控制。
https://code.visualstudio.com/docs/editor/intellisense
我不相信你可以完全关闭“结束”唯一的智能-这似乎是一个全有或全无的命题。

相关问题