Skip to content

Consider using the same editor settings as the research-template where appropriate #7

@StevenMaude

Description

@StevenMaude

This would make the user experience more consistent across the ehrQL tutorial and when working in Codespaces on research projects.

At time of writing, this configuration is:

        "vscode": {
            "extensions": [
                "ms-python.python",
                "ms-toolsai.jupyter",
                "ms-toolsai.jupyter-renderers"
            ],
            "settings": {
                "extensions.ignoreRecommendations": true,
                "files.autoSave": "afterDelay",
                "files.autoSaveDelay": 1000,
                "git.autofetch": true,
                "python.analysis.extraPaths": [".devcontainer/ehrql-main/"],
                "python.defaultInterpreterPath": "/opt/venv/bin/python",
                "python.terminal.activateEnvInCurrentTerminal": true,
                "python.terminal.activateEnvironment": true,
                "window.autoDetectColorScheme": true
            }
        }

The VSCode settings are currently in sync, again at time of writing.

It's probably worth referring to the latest version of the research-template's devcontainer configuration (current link).

⚠️ Not all the settings may be appropriate; some are specific to the research template, probably:

                "python.analysis.extraPaths": [".devcontainer/ehrql-main/"],
                "python.defaultInterpreterPath": "/opt/venv/bin/python",
                "python.terminal.activateEnvInCurrentTerminal": true,
                "python.terminal.activateEnvironment": true,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions