vscode 的 样式提示失效了!!!

最近注意到在手动编辑 style 时,输入属性时,没有相关的提示了!如 bac,应该触发 emmet 提示 background 相关的属性的,但是现在没有了,直接是 AI,代码提示,非常不方便的。

代码提示,应该是插件能力,而系统的 emmet 能力也应该保存,像上面的 AI 提示,简直乱来,没法选择 background-color 这些。

!!!直接打开 settings.json 搜索 quickSuggestions。

结果如下:

json 复制代码
{
       "editor.quickSuggestions": {
        "other": "offWhenInlineCompletions",
        "comments": "off",
        "strings": "off"
    }
}

就是 offWhenInlineCompletions 这个属性导致的,应该是我更新 vscode 时自动覆盖了,应该改成 on。

"other": "on",

大功告成!

相关推荐
free-elcmacom9 天前
手撕 memcpy 和 memmove:从字节级拷贝到内存重叠的终极较量
c语言·开发语言·青少年编程·visual studio code·visual studio
free-elcmacom18 天前
发际线警告!手撕《C陷阱与缺陷》终极 BOSS:signal 函数与 typedef 魔法
c语言·开发语言·visual studio code·visual studio
前端小白乘风18 天前
VS Code 终于能连微信了!发现一个硬核开源神仙插件:WeChat AHP
微信·visual studio code·deepseek
free-elcmacom20 天前
C语言指针进阶——指针数组模拟二维数组,以及二级指针到底怎么理解
c语言·visual studio code
formulahendry20 天前
微信和 VS Code 强强联合!WeChat AHP 来了
visual studio code·vs code
向北丶22 天前
vscode 导入语句排序和删除未使用的导入
前端·visual studio code
Eric_见嘉1 个月前
打开这个 VSC 设置「组件引用位置」和数量就都清楚了
前端·typescript·visual studio code
Flynt1 个月前
Chrome 修了个零日漏洞,你的 VS Code 和 Cursor 可能还在裸奔
安全·electron·visual studio code
一直C1 个月前
Linux系统编程|进程间通信IPC全套详解(1)(管道、信号)
linux·c语言·开发语言·网络·青少年编程·visual studio code
三十而立洋1 个月前
VSCode插件从0到1开发与发布完整实战
visual studio code