Settings (pro memoria)
Useful editor settings to get right.
"python.condaPath": "/path/to/miniconda3/condabin/conda"
e.g. in my case"${HAFH}/miniconda3/condabin/conda"
- this setting ensures that your Conda environments will be discoverable when you want to switch (was often buggy for me; this fixed it)
- Gitlens:
"gitlens.hovers.currentLine.over": "annotation"
(I think it was this one) - removes the super annoying gitlens info that appears above the function/class docstring when hovering over the function/class name but keeps the gitlens info available by hovering over the gitlens annotation (grey shadow text showing mainly blame) on any given line
"python.pyrefly.disableLanguageServices": true
NOTE
Ensure all of these are set in the environment you are working in, e.g. if youâre SSHing into a server, set this in the remote serverâs respective settings (âtabsâ displayed on the VSCode settings UI page).