如何使用 React 让 JS Intellisense 在 VSCode 中工作?

How to get JS Intellisence working in VSCode with React?

我在 Windows 10 上全新安装了 VSCode。我目前正在为 React 开发设置 ENV,但是,JS Intellisence 在创建的应用程序文件夹中根本不起作用通过 create-react-app。当我打开一个 JS 文件并开始输入时,下面的符号会不停地无限循环。

真奇怪,我刚刚禁用了内置功能 TypeScript and JavaScript Language Features 然后,JS Intellisence 又恢复工作了!

似乎是一个错误 https://github.com/microsoft/vscode/issues/87658