{ "folders": [ { "path": ".", }, ], "settings": { "LSP": { "LSP-pyright": { // Use maple-py/ as the python project root so pyrightconfig.json // there is picked up (extraPaths=["src"], venvPath=".venv", // pythonVersion="3.14"). The interpreter is the uv-managed venv. "settings": { "python.pythonPath": "$folder/maple-py/.venv/bin/python", "python.analysis.extraPaths": [ "$folder/maple-py/src", ], "python.analysis.typeCheckingMode": "basic", "python.analysis.diagnosticMode": "openFilesOnly", "python.analysis.autoImportCompletions": true, "python.analysis.indexing": true, }, // Pin the LSP server's working directory to maple-py/ so file // lookups resolve relative to where pyrightconfig.json lives. "initializationOptions": { "pythonPath": "$folder/maple-py/.venv/bin/python", }, }, }, "cargo_build": { "paths": { "$folder/maple-rs": { "variants": { "run": { "target": "--bin maple", }, }, }, }, }, }, }