vscode 左下方状态栏不显示 python 环境信息,即使打开了python 文件也是这样,如下图所示。
devblogs.microsoft.com在官方的更新文档说到:
Alternatively, we are placing all interpreter-specific information behind the language status icon (as represented by the { } marker), on the left side of the Language Mode selector. You can click on the language status icon to bring up interpreter details, which you can choose to pin on the status bar by clicking the pin icon to the right of “Select Interpreter”:
大概意思就是:
将所有特定于解释器的信息放在语言状态图标(由 { } 标记表示)后面,位于语言模式选择器的左侧。您可以单击语言状态图标来调出解释器详细信息,您可以通过单击“选择解释器”右侧的图钉图标来选择将其固定在状态栏上:
原来是更新到右下角了,在右下角选择语言模式旁边,就可以选择所需要的 python 环境了。