gpt4 book ai didi

visual-studio-code - 用于运行 VSCode 扩展的自定义节点版本

转载 作者:行者123 更新时间:2023-12-04 03:11:19 25 4
gpt4 key购买 nike

我正在制作一个供我个人使用的 vscode 扩展。我真的很想使用更新的节点版本。但是,我不确定 VSCode 如何选择要使用的节点版本。

我唯一安装的 node.js 是 8.1.3 .但是当我调试扩展时,我看到 VSCode 使用 7.*.* (通过 process.version )。

到目前为止,我一直在搜索文档一个小时,但没有运气。任何帮助表示赞赏。

最佳答案

这不可能。引用 #18253 中一位团队成员 (Andre Weinand) 的回复:

VS Code runs extensions on the node version that is built into electron (on which VS Code is based). This cannot be changed.

关于visual-studio-code - 用于运行 VSCode 扩展的自定义节点版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45062881/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com