无论如何配置vscode不从建议列表中选择第一项? [英] Is there anyway to configure vscode to NOT select the first item from the suggestion list?

查看:30
本文介绍了无论如何配置vscode不从建议列表中选择第一项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在输入#myDiv ENTER",我想得到这个:

I'm typing "#myDiv ENTER" and I want to get this:

http://i.imgur.com/b4p34HY.png

但是当我在#myDiv 之后输入空格时,我得到了这个:

But when I type space right after #myDiv, I'm getting this:

http://i.imgur.com/69AiOOM.png

注意第一项-moz any()"被选中.如果我现在按 ENTER,我将无法获取代码.

Notice that the first item "-moz any()" is seletected. If I press ENTER now, I'll not get my code.

无论如何配置 vscode 使其不会选择该列表的第一项?

Is there anyway to configure vscode so that it won't select the first item of that list?

推荐答案

您可以将此添加到 settings.json 文件中,以使 enter 不接受建议.

You can add this to your settings.json file to make enter not accept suggestions.

"editor.acceptSuggestionOnEnter": false,

然后您只能使用 tab 来接受建议.

You can then only use tab to accept the suggestions.

这篇关于无论如何配置vscode不从建议列表中选择第一项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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