This extension contributes the following settings:
capnp-ls-client.languageServer.path: Path to the Cap'n Proto language server executable. If not specified, the extension will first look for a capnp-ls binary in the extension directory, then search in the system PATH. For Linux x86_64 systems, the binary will be automatically downloaded if not found in either location.
capnp-ls-client.compiler.path: Path to the Cap'n Proto compiler executable. If not specified, it defaults to "capnp" from the system PATH. When using a bundled version of capnp-ls (built with -DUSE_BUNDLED_CAPNP_TOOL=ON), this setting is optional and the bundled compiler will be used automatically.
capnp-ls-client.compiler.importPaths: Additional import paths for Cap'n Proto schemas.
capnp-ls-client.server.extraEnv: Extra environment variables that will be passed to the capnp-ls executable.
CPP_LOG: Log level for the Cap'n Proto language server.
Example: CPP_LOG=lsp_server=info: Set log level to info.
Default: CPP_LOG=lsp_server=warning
Example configuration:
To customize the client settings, edit the .vscode/settings.json file in your workspace as follows: