Files
maple/maple.sublime-project
T
2026-06-21 21:46:39 +10:00

55 lines
1.6 KiB
Plaintext
Executable File

{
"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",
},
},
},
},
},
},
}