lsp_restart
Restart the Scheme language server to apply configuration changes, switch executables, or recover from a stuck state. Open documents are automatically reopened to restore server state.
Instructions
Restart the scheme-langserver connection and reopen tracked documents.
Use this when you want scheme-langserver to pick up configuration changes
(e.g. a new cache_path), switch to a different executable, or recover
from a stuck server. After restarting, all currently open files are
re-opened automatically so the server state is restored.
Args: root_dir: Project root directory. If omitted, the previously used root_dir is reused; if there is none, it is inferred from open documents or the current working directory. langserver_path: Optional path to a specific scheme-langserver executable. If provided, it overrides environment variables and project config. This lets you instantly switch to a local build for debugging or comparison.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_dir | No | ||
| langserver_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||