在另一个自动补全之后突出显示文本时,VSCode不会自动完成 [英] VSCode doesn't autocomplete when text is highlighted after another autocompletion

查看:52
本文介绍了在另一个自动补全之后突出显示文本时,VSCode不会自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio代码上编辑文本时,当我对某些内容(例如图片中)使用自动完成功能时 https://i.stack.imgur.com/0WKnm.png

When editing text on visual studio code, when I use autocomplete for something (like in the picture) https://i.stack.imgur.com/0WKnm.png

它会突出显示我的文本(在键入时),自动完成功能会停止工作

It highlights my text (while typing) and autocomplete stops working

https://i.stack.imgur.com/HjK6T.png

我自动完成if语句时也是如此

Same goes when I autocomplete an if statement

https://i.stack.imgur.com/WPNVX.png

有什么方法可以禁用该突出显示,或者即使突出显示也可以使其自动完成?

Is there any way to disable that highlight, or make it autocomplete even with the highlight?

推荐答案

将其添加到settings.json文件中,可以防止这种行为:

Add this in your settings.json file, it'll prevent this behaviour:

"editor.suggest.snippetsPreventQuickSuggestions": true,

这篇关于在另一个自动补全之后突出显示文本时,VSCode不会自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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