如何将vscode中的项目“在Python交互式窗口中运行到一行”添加到右键菜单?

问题描述 投票:0回答:1

我正在新计算机上的Visual Studio代码中编写python。

但是,右键菜单中缺少我的先前计算机(screenshot)的Visual Studio代码中可用的项目。包括“在Python交互式窗口中从行运行”,“在Python交互式窗口中运行选择/行”和“在Python交互式窗口中运行到行”。

我缺少Visual Studio代码的任何设置吗?

python visual-studio
1个回答
0
投票

我找到了解决方案。

转到python的扩展名设置,然后找到项目"Send Selection To Interactive Window"并打开。

© www.soinside.com 2019 - 2024. All rights reserved.