台式机VSCode与Anaconda VSCode? [英] Desktop VSCode vs Anaconda VSCode?

查看:340
本文介绍了台式机VSCode与Anaconda VSCode?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在计算机上安装了vscode.我注意到前一阵子,它现在已经包含在anaconda发行版中.使用anaconda随附的vscode和我已经安装的vscode有什么好处?

I have vscode installed on my computer already. I noticed a while back that it is now included with the anaconda distribution. Is there any benefit to using the vscode included with anaconda vs the vscode i already have installed?

FYI是一个Python开发人员,如果有帮助的话.

FYI im a python developer if that makes a difference.

推荐答案

据我所知,VS Code是Anaconda附带的独立软件(就您的问题而言!).分别安装它们还是先安装Anaconda并从那里安装VS Code都没有关系. Anaconda默认将一些扩展添加到VS Code,但您始终可以自己安装它们.

As far as I know, VS Code is an independent (in terms of your question!) software which is just shipped with Anaconda. It does not matter if you install them separately or first install Anaconda and install VS Code from there. Anaconda add some extensions by default to VS Code, but you can always install them yourself.

您可以做的是在发布新版本时更新VS代码(请参见 https://code.visualstudio. com/)

What you can do is updating your VS Code when new versions are released (see https://code.visualstudio.com/)

此外,VS Code是一种代码编辑器,并且可以将其与从python.org或Anaconda发行版安装的Python一起使用.您可以在设置中告诉VS Code您的Python路径是什么.

Also, VS Code is a code editor and one might use it with Python installed from for instance python.org or Anaconda distribution. You can tell VS Code what is your Python path in the settings.

最后,您可能需要阅读此内容(引用格式为 https ://docs.anaconda.com/anaconda/user-guide/tasks/integration/vscode/):

And finally you may want to read this (quoted form https://docs.anaconda.com/anaconda/user-guide/tasks/integration/vscode/):

VS Code免费提供给私人和商业用户使用,可在Windows,macOS和Linux上运行,并支持整理,调试,任务运行,版本控制和Git集成,IntelliSense代码完成和conda环境.

VS Code is free for both private and commercial use, runs on Windows, macOS and Linux, and includes support for linting, debugging, task running, version control and Git integration, IntelliSense code completion and conda environments.

VS Code是可公开扩展的,并且可以使用许多扩展.在Anaconda上安装VS Code时,它附带了用于Visual Studio Code的Python扩展,用于编辑Python代码,以及用于编辑YAML文件(例如conda配置文件)的RedHat YAML扩展.

VS Code is openly extensible and many extensions are available. When you install VS Code with Anaconda it comes with the Python Extension for Visual Studio Code for editing Python code, and the RedHat YAML extension for editing YAML files such as conda configuration files.

在安装Anaconda时,您可以选择是否安装VS Code.在无提示模式下安装Anaconda时不提供VS Code,但是您可以在Anaconda安装完成后轻松安装VS Code.

When installing Anaconda, you may select whether to install VS Code. VS Code is not offered during silent mode Anaconda installs, but you can easily install VS Code after the Anaconda install completes.

这篇关于台式机VSCode与Anaconda VSCode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆