-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Feature Request
Add an lsp_config parameter (or equivalent) to SubprocessConfig so that applications using the SDK can specify a project-specific LSP server configuration file at an arbitrary path.
Current Behavior
LSP config paths are hardcoded in the CLI:
- User-level:
~/.copilot/lsp-config.json - Project-level:
.github/lsp.json(relative to the CLI subprocess's cwd)
There is no way to pass a custom LSP config path through the SDK. SubprocessConfig.cli_args cannot help here because the CLI has no --lsp-config flag.
Desired Behavior
from copilot.types import SubprocessConfig
config = SubprocessConfig(
lsp_config="/path/to/my/lsp-config.json"
)
client = CopilotClient(config)Notes
The LSP config file path would only need to be passed at client construction time (before start() is called), so a SubprocessConfig field is the natural place for it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.