如何让 VSCode intellisense 为 Javascript 和 Nodist 在 Windows 上工作?
How to get VSCode intellisense working for Javascript and Nodist on Windows?
今天我很惊讶地发现,在按照 create-react-app in VSCode that intellisense isnot working as depicted in the article. I've followed similar instructions on a different machine and it worked and the only obvious differences I can spot at a glance is that the machine that was working was running Windows 7 and may have not been using Nodist 的说明管理 npm 和 Node 版本之后。
如何解决智能感知问题?我提供的细节中是否有明显遗漏的东西会阻止智能感知按照教程中的描述工作?
VS 代码信息:
Version 1.20.0
Commit c63189deaa8e620f650cc28792b8f5f3363f2c5b
Date 2018-02-07T17:10:31.920Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture ia32
看来我的问题已经解决了。虽然我没有看到 VSCode 文档中提到的相同错误,但事实证明我的问题可能是定位我的 npm 版本时遇到问题。
沿着 directions to find my path to Node that is installed with Nodist and following additional instructions for VSCode to set the typescript.npm config setting 这条路走,事情又对我亮了起来。
参考文献:
今天我很惊讶地发现,在按照 create-react-app in VSCode that intellisense isnot working as depicted in the article. I've followed similar instructions on a different machine and it worked and the only obvious differences I can spot at a glance is that the machine that was working was running Windows 7 and may have not been using Nodist 的说明管理 npm 和 Node 版本之后。
如何解决智能感知问题?我提供的细节中是否有明显遗漏的东西会阻止智能感知按照教程中的描述工作?
VS 代码信息:
Version 1.20.0
Commit c63189deaa8e620f650cc28792b8f5f3363f2c5b
Date 2018-02-07T17:10:31.920Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture ia32
看来我的问题已经解决了。虽然我没有看到 VSCode 文档中提到的相同错误,但事实证明我的问题可能是定位我的 npm 版本时遇到问题。
沿着 directions to find my path to Node that is installed with Nodist and following additional instructions for VSCode to set the typescript.npm config setting 这条路走,事情又对我亮了起来。
参考文献: