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

Aperta
#7 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python, vscode
Ambito
tooling

Direzione di ricerca

Start by comparing the tutorial’s Codespaces or devcontainer configuration with the current research-template .devcontainer/devcontainer.json, as linked in the issue. Decide which editor settings apply to the tutorial and update its configuration; done when appropriate settings match and research-template-specific Python paths and environment settings are excluded. The thread has had no reply for over 180 days.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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,
Lingua principale
Python
Stelle
0
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opensafely/ehrql-tutorial

Tutte le issue di opensafely/ehrql-tutorial

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.