mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
language-server: Stub out support for some messages we don't handle yet. (#7637)
This suppresses warnings for unhandled messages where we currently have nothing to do. No functionality change, except for less spam in the VS Code output tab. Assisted-by: Claude Code
This commit is contained in:
@@ -19,4 +19,14 @@ auto HandleInitialize(
|
||||
on_done(reply);
|
||||
}
|
||||
|
||||
// Implements `initialized`:
|
||||
// https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initialized
|
||||
auto HandleInitialized(Context& /*context*/,
|
||||
const clang::clangd::NoParams& /*params*/) -> void {
|
||||
// Nothing to do, but every client sends this, so we handle it rather than
|
||||
// warning about an unsupported notification.
|
||||
// TODO: This is when we would use `client/registerCapability` for any
|
||||
// capabilities we want to register dynamically.
|
||||
}
|
||||
|
||||
} // namespace Carbon::LanguageServer
|
||||
|
||||
Reference in New Issue
Block a user