[英]why does vscode execute my selection so slowly in python console?
This has been annoying me for weeks, it's usually not this bad but it's honestly like a snail at this point.这让我烦恼了好几个星期,通常情况不会那么糟糕,但老实说,在这一点上它就像一只蜗牛。
I can either run a specific line, or select some code and run the selection which sends that selection to the python console.我可以运行一个特定的行,或者 select 一些代码并运行将选择发送到 python 控制台的选择。
Why does this happen so slowly?为什么这会发生得如此缓慢? See the gif...
看动图...
Any thoughts on how I could fix this?关于如何解决这个问题的任何想法?
1) Well first one is that you can try by changing the default terminal Powershell
to Command Prompt
1)第一个是您可以尝试将默认终端
Powershell
更改为Command Prompt
Here are the two guide for you on how to change the terminal这是有关如何更改终端的两个指南
2) Start VSCode
with the --ignore-gpu-blacklist
flag and see if it solve any performance issues 2) 使用
--ignore-gpu-blacklist
标志启动VSCode
,看看它是否解决了任何性能问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.