使用 Svelte 的 VSC 高亮显示

VSC Highlighting with Svelte

最近几天我一直在试用 Svelte。 一切正常,但出于某种原因,我在 VSC 中发现了那些奇怪的突出显示错误。 每当这种情况发生时,VSC 基本上就不再可用了(没有 IntelliSense、怪异的突出显示……)

你们中有人在使用 Svelte 时遇到过类似的问题吗?

我建议您更新 IDE、您的插件和 svelte(如果您还没有)以使用 the official Svelte plugin for VS code, to disable other plugins that may conflict with IntelliSense, and reloading VS Code. If the problem persists, it would be better to ask for help on the plugin’s Github page