The Domino standard environments support opening Visual Studio Code (VS Code) in workspaces. VS Code is an open-source multi-language editor maintained by Microsoft. Domino can serve the VS Code application to your browser with the power of code-server from Coder.com.
VS Code support is available in the latest versions of the Domino standard environments:
- Domino Standard Environment
-
-
quay.io/domino/compute-environment-images:ubuntu20-py3.9-r4.2-domino5.2-standard
-
quay.io/domino/compute-environment-images:ubuntu20-py3.9-r4.2-domino5.2-gpu
-
quay.io/domino/compute-environment-images:ubuntu20-py3.9-r4.2-domino5.2-fuse
-
- Domino Spark Environment
-
-
quay.io/domino/compute-environment-images:ubuntu20-py3.9-r4.2-spark3.2.1-hadoop3.3.1-domino5.2
-
- Domino Ray Environment
-
-
quay.io/domino/compute-environment-images:ubuntu20-py3.9-r4.2-ray1.12.0-domino5.2
-
- Domino Dask Environment
-
-
quay.io/domino/compute-environment-images:ubuntu20-py3.9-r4.2-dask2022.04.2-domino5.2
-
You can also find older style environments with VS Code support if you would like to use an older version of Python or R:
- Domino analytics distribution for Python 2.7
-
-
quay.io/domino/base:Ubuntu18_DAD_Py2.7_R3.5-20190501
-
- Domino analytics distribution for Python 3.7
-
-
quay.io/domino/base:Ubuntu18_DAD_Py3.7_R3.5-20190501
-
If you are using a Domino environment that has VS Code, you can launch VS Code when you create a workspace just as you would launch any other IDE.
If launched this way, your workspace will open with the Domino controls around a VS Code editor. You can work with your project files in VS Code, and commit and sync with the Domino workspace as normal.
You can also configure JupyterLab to have VS Code as an available notebook option.
All the environments listed above come with
jupyter-server-proxy
already installed, so you will only need to update your JupyterLab config to add a new notebook tile type.
See
Using Jupyter Server Proxy for more details about how to do this.
If launched this way, JupyterLab opens a new tab that serves the VS Code application. This editor is running in the same Domino Run container as your JupyterLab application. However, the VS Code tab will not show the Domino workspace controls. If you want to sync, commit, or stop your workspace after working in VS Code, you must do so from the JupyterLab tab.
You can install VS Code extensions in the following ways:
-
Use the pre-run script.
-
Use VS Code’s extensions manager.