Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

This directory exists to enable certain VSCode extensions to work on multi-root VSCode workspaces.

For example, the Ruff VSCode extension requires a single virtual environment to run Ruff in for the entire workspace. This directory contains that virtual environment.

To set up the virtual environment, run the following command:

make install

Or just run make install from the root of the repository.

The workspace needs this directory to be added as a root.

{
    "folders": [
        ...
        {
            "path": ".multi-root-tools"
        },
        ...
    ]
}

And for ruff, it needs to be specified as the interpreter:

{
  "settings": {
    "ruff.interpreter": "${workspaceFolder:.multi-root-tools}/.venv"
  }
}