======================================
Microsoft Visual Studio Code (VS Code)
======================================

Anaconda Distribution offers Visual Studio Code (VS Code), Microsoft's
lightweight and fast open source code editor.

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 is openly extensible and `many extensions
<https://marketplace.visualstudio.com/vscode>`_ are available. When you install
VS Code with Anaconda it comes with the `Python Extension for Visual Studio Code
<https://marketplace.visualstudio.com/items?itemName=ms-python.python>`_ for
editing Python code, and the RedHat YAML extension for editing YAML files such
as conda configuration files.

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.

The Anaconda Linux installer will offer to install VS Code if your Linux
distribution is in this list and at or above these versions:

============ =======
Distribution Version
============ =======
CentOS       7
Debian       8
Fedora       23
openSUSE     42.1
RHEL         7
SLES         12
Ubuntu       14.04
============ =======

.. figure:: /img/vscode-install.png
   :width: 50%

   ..

|

In Anaconda Navigator version 1.7 or higher, use the VS Code tile on the home
screen to install or launch VS Code.

.. figure:: /img/vscode-tile-install.png
   :width: 25%

   ..

|

.. figure:: /img/vscode-tile-launch.png
   :width: 25%

   ..

|

When you launch VS Code from Navigator, VS Code is configured to use the Python
interpreter in the currently selected environment.

In addition to VS Code, Anaconda fully supports :doc:`Spyder <spyder>`,
Jupyter Notebook, and other IDEs.
