Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
StevenMaude opened this issue Aug 14, 2024 · 0 comments

Comments

@StevenMaude
Copy link
Contributor

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,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant