如何在.ASTRO中启用Emmet?
https://github.com/withastro/language-tools/tree/main/packages/language-server
I have installed the language server above in neovim.
The language server comes with emmet
support, but I can't seem to get it to work.
How can I enable emmet
in .astro
files?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
打开VSCODE全局设置,然后搜索
emmet
。滚动到emmet:包含语言
部分,然后单击添加项目在左侧添加
astro
,在左侧和html
向右。重新启动VSCODE,现在您可以在中使用Emmet Tab .ASTRO
文件Open VSCode global settings then search for
emmet
. Scroll toEmmet: Include Languages
section and click on Add Itemadd
astro
on the left andhtml
to the right. Restart VSCode and now you can use emmet tab in.astro
files尝试安装EMMET语言服务器。
与梅森一起,
Astro LSP对我也没有正确的操作。
Try installing the emmet language server.
With Mason
The Astro LSP didn't do emmet correctly for me either.