Microsoft/vscode

Allow users to select using `typescript.tsserver.nodePath` after dismissing modal dialog

开放

#247,088 创建于 2025年4月22日

 (0 条评论) (0 个反应) (1 位负责人)TypeScript (39,847 个派生)batch import
bugenhancementhelp wanted

仓库指标

星标
 (184,936 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Currently, for "security" reasons, VS Code will show a modal dialog prompt to users when a custom tsserver node path is specified in workspace or user settings (see https://github.com/microsoft/vscode/issues/200923 for more details). If a user dismisses this dialog the UI offers no mechanism for users to change their mind and switch between node paths.

Feature request: Similar to typescript.tsdk (screenshot below), allow users to change their typescript.tsserver.nodePath via the UI by offering a TypeScript: Select node path... command in the command palette.

Image

If the VS Code team is onboard with this change my team would be happy to contribute it. Thanks!

贡献者指南