[英]vscode + python + interactive mode + variable explorer slow and inaccurate
I'm trying to switch from Spyder to VScode in order to integrate git into my workflow.我正在尝试从 Spyder 切换到 VScode,以便将 git 集成到我的工作流程中。 However I'm running into some (I think related?) issues that I'd love some help with.但是,我遇到了一些(我认为相关的?)问题,我希望得到一些帮助。
info: I'm using a conda environment信息:我正在使用 conda 环境
I told VSCode to use my anaconda environment through: ctrl+shift+p --> python: select interpreter --> choosing my anaconda environment from the list I told VSCode to use my anaconda environment through: ctrl+shift+p --> python: select interpreter --> choosing my anaconda environment from the list
I cannot imagine anyone getting anything done with issues like these, so I must be doing something wrong.我无法想象有人能解决这样的问题,所以我一定做错了什么。 What could be a good place to start troubleshooting one or multiple of my issues?什么是开始解决我的一个或多个问题的好地方?
It's definitly not usual, that there are these delays.有这些延误绝对不常见。 Although it is quite hard to tell what the problem is, because there are two many "variables" at play (Your PC-Setup, installed Software, ...).尽管很难说出问题所在,因为有两个“变量”在起作用(您的 PC 设置、已安装的软件……)。
But there are some things you could try as a solution.但是您可以尝试一些方法作为解决方案。
These are the things you could try to fix your VS-Code setup.这些是您可以尝试修复 VS-Code 设置的事情。
On a further note, on personal experience I'd recommand using the PyCharm IDE.另外,根据个人经验,我建议使用 PyCharm IDE。 It is entirly free too (the community version at least) and has an even better GIT integration compared to the VS-Code's one.它也是完全免费的(至少是社区版),与 VS-Code 的集成相比,它具有更好的 GIT 集成。
If you can't fix your mentioned issues this might be a good option to choose as an alternative.如果您无法解决您提到的问题,这可能是一个不错的选择。
Hope this helps:)希望这可以帮助:)
This does not seem to be a common problem.这似乎不是一个普遍的问题。
I can give some suggestion:我可以给一些建议:
Add the following code to your setting.json
:将以下代码添加到您的设置中setting.json
:
"search.followSymlinks": false, “search.followSymlinks”:假,
Set high performance mode for vscode in graphics card settings在显卡设置中为vscode设置高性能模式
Power settings enable high performance电源设置可实现高性能
The problem is related to my personal hardware and other aspects, posting this to try and accept this answer so I can delete this post.问题与我的个人硬件和其他方面有关,发布此帖子以尝试接受此答案,以便我可以删除此帖子。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.