VSCode IntelliSense在.astro文件中无法正常工作怎么办?
Astro + Qwik + TypeScript项目IntelliSense触发异常问题
我在用Qwik和TypeScript开发Astro项目时,遇到了IntelliSense的触发问题:按下Ctrl+Space快捷键无法正常唤起代码提示,具体表现为:
- Benefit组件无法通过快捷键触发IntelliSense
- 只有手动开始输入内容后,才会出现代码提示
项目中benefit.astro的代码如下:
/* benefit.astro */ type Props = { title: string; content: string; horizontalInvertion?: boolean; } const { title, content, horizontalInvertion } = Astro.props;
我已经尝试过以下方法,但问题仍未解决:
- 重启VSCode
- 卸载并重新安装Astro扩展
内容的提问来源于stack exchange,提问作者fellipeutaka
相关产品推荐
相关产品推荐

