关闭VUE CSS部分中的Emmet建议(VS代码)

发布于 2025-02-02 17:25:24 字数 240 浏览 1 评论 0原文

我正在使用 vue 在VS代码中进行编程,我想在< template> gt;中启用启用 emmet; .vue文件的一部分,但要转动 disable emmet in< style>部分原因是可以看到以下图像的令人讨厌的建议:

编辑:我正在使用volar(v0.35.0),我只是尝试了否决权,而问题不存在

I am programing with Vue in VS Code, I want to enabled Emmet in <template> part of .vue file, but want to turn disable emmet in <style> part because of this annoying suggestion that can be seen it the following image:

EDIT: I am using Volar (v0.35.0), I just tried Vetur and the problem does not exist there

Problem Image

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

疏忽 2025-02-09 17:25:24

该错误已在v0.35.2中修复,可以看到在这里

要检查哪个版本,请转到VS代码中的“扩展”选项卡,然后选择Volar。您可以看到扩展名称旁边的版本号。如果要升级,可以按“卸载”旁边的箭头,然后按“安装另一个版本”。

This bug was fixed in v0.35.2, as can be seen HERE.

To check which version you have go to the extensions tab in VS Code and choose Volar. You can see the version number next to the extension name. If you want to upgrade you can press the arrow next to "uninstall" and press "Install Another Version".

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文