RootDetection
🛈 DocStrings¶
How to detect project root for LSP.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
include_patterns
|
list[str]
|
File patterns that indicate project root (e.g., ["pyproject.toml"]) |
required |
exclude_patterns
|
list[str] | None
|
If these are found, skip this LSP (e.g., ["deno.json"] for typescript) |
None
|
workspace_marker
|
str | None
|
Content marker for workspace detection (e.g., "[workspace]" in Cargo.toml) |
None
|