gpt4 book ai didi

python - VScode运行代码选择

转载 作者:太空宇宙 更新时间:2023-11-04 02:28:36 24 4
gpt4 key购买 nike

为了我的 python 努力,我刚刚从 Spyder 过渡到 VScode。有没有办法运行单独的代码行?这就是我以前进行现场调试的方式,但我在 VScode 中找不到它的选项,并且真的不想继续设置和删除断点。

谢谢。

最佳答案

如果您突出显示某些代码,您可以右键单击或运行命令,在 Python 终端中运行选择/行

我们还计划 implementing Ctrl-Enter做同样的事情并查看Ctr-Enter executing the current line .

关于python - VScode运行代码选择,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49771589/

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