桌面 VSCode 与 Anaconda VSCode?

Jer*_*ome 2 python anaconda visual-studio-code

我的电脑上已经安装了 vscode。我不久前注意到它现在包含在 anaconda 发行版中。与我已经安装的 vscode 相比,使用 anaconda 附带的 vscode 有什么好处吗?

仅供参考,如果这有所作为,我是一名 Python 开发人员。

Hos*_*ein 5

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.

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

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.

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

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 时,它​​会附带用于编辑 Python 代码的 Visual Studio Code 的 Python 扩展,以及用于编辑 YAML 文件(例如 conda 配置文件)的 RedHat YAML 扩展。

安装Anaconda时,可以选择是否安装VS Code。在 Anaconda 安装静默模式期间不提供 VS Code,但您可以在 Anaconda 安装完成后轻松安装 VS Code。

  • 添加更多细节,唯一的区别是从 code.visualstudio.com 下载的 VS Code 副本与 Anaconda 附带的 VS Code 副本不同,后者附带 [Anaconda 扩展包](https://marketplace.visualstudio .com/items?itemName=ms-python.anaconda-extension-pack) 开箱即用。 (2认同)