Visual Studio Code中的选项卡自动完成功能不起作用 [英] Tab autocomplete in Visual Studio Code doesn't work

查看:69
本文介绍了Visual Studio Code中的选项卡自动完成功能不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图通过按制表符"按钮启用制表符自动完成功能,但它对我不起作用,并且在应作为自动完成功能时始终用作制表符.应该启用或禁用此功能的哪个设置或快捷方式?

I am trying to enable tab auto-completion with pressing "Tab" button but it doesn't work for me and it always works as Tab character when it is supposed to work as autocomplete. Which setting or shortcut should I enable or disable to have this feature?

按"Tab",我会得到这个;

With pressing "Tab", I will get this;

PS:按"Enter"键效果很好,并且接受了建议,我可以通过将以下设置设置为关闭"来禁用它.

PS: Pressing "Enter" works fine and accepts the suggestion and I can disable it by setting the following setting to off.

推荐答案

尝试将制表符完成设置更改为开":

Try changing tab completion setting to On:

编辑器›标签完成

"editor.tabCompletion": "on"

对于HTML/Javascript,您也可以将emmet设置为true

Also for HTML/Javascript you could make emmet setting to true

"emmet.triggerExpansionOnTab": true

这篇关于Visual Studio Code中的选项卡自动完成功能不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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