Files
exo/.vscode/settings.json
Andrei Cravtov fd5b23281c Workspace tweaks (#1849)
## Changes

Mostly chore changes around vscode and jetbrains workspace settings, and
some basedpyright settings tweaks, to allow direnv to work and nixd
autocomplete with flake parts to work
2026-04-07 17:26:29 +00:00

32 lines
1012 B
JSON

{
"files.associations": {
"*.nix": "nix",
},
"nix.enableLanguageServer": true,
"nix.serverPath": "nixd",
"nix.serverSettings": {
"nixd": {
"formatting": {
"command": ["nixpkgs-fmt"]
},
"nixpkgs": {
"expr": "(builtins.getFlake \"path:${workspaceFolder}\").currentSystem.config._module.args.pkgs"
},
"options": {
"flake-parts": {
"expr": "(builtins.getFlake \"path:${workspaceFolder}\").debug.options"
},
"flake-parts-perSystem": {
"expr": "(builtins.getFlake \"path:${workspaceFolder}\").currentSystem.options"
}
}
}
},
"[nix]": {
"editor.defaultFormatter": "jnoortheen.nix-ide"
},
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"basedpyright.analysis.configFilePath": "${workspaceFolder}/pyproject.toml",
"basedpyright.importStrategy": "fromEnvironment",
}