使用 VsCode 中的 Windows 文件对话框打开 file/folder

Opening file/folder using Windows file dialog in VsCode

当我尝试打开 VsCode 中的文件或文件夹时,Windows 文件对话框没有打开。相反,VsCode 的顶部中间会出现一个方框,用于打开 file/folder。

如何再次使用 Windows 文件对话框?

Windows 文件对话框默认打开 file/folder。但不知何故,我把它改成了简单的。如果您想使用 "Simple Dialog",您应该将以下行添加到 settings.json:

"files.simpleDialog.enable": true

要返回 Windows 文件对话框,删除该行或将 true 更改为 false