On Visual Studio Code devcontainer rebuild: keep VSC plugins? On Visual Studio Code devcontainer rebuild: keep VSC plugins? docker docker

On Visual Studio Code devcontainer rebuild: keep VSC plugins?


Figured it out by myself.

There is the .devcontainer/devcontainer.json file which contains following section:

    // Add the IDs of extensions you want installed when the container is created.    "extensions": [        "ms-python.python",        "ms-python.vscode-pylance",        "littlefoxteam.vscode-python-test-adapter"    ],

The ID of an extension can be found on the introduction screen after installing it.