LspClientCapabilities constructor
const
LspClientCapabilities({})
Creates a new LspClientCapabilities instance with customizable feature flags.
All parameters default to true, meaning all LSP features are enabled by default.
Set any parameter to false to disable that specific LSP feature.
Parameters:
semanticHighlighting: Enable semantic token highlighting (default: true)codeCompletion: Enable code completion suggestions (default: true)hoverInfo: Enable hover documentation (default: true)codeAction: Enable code actions and quick fixes (default: true)signatureHelp: Enable signature help (default: true)documentColor: Enable document color detection (default: true)documentHighlight: Enable document highlighting (default: true)codeFolding: Enable code folding (default: true)inlayHint: Enable inlay hints (default: true)goToDefinition: Enable "go to definition" (default: true)rename: Enable symbol renaming (default: true)
Implementation
const LspClientCapabilities({
this.semanticHighlighting = true,
this.codeCompletion = true,
this.hoverInfo = true,
this.codeAction = true,
this.signatureHelp = true,
this.documentColor = true,
this.documentHighlight = true,
this.codeFolding = true,
this.inlayHint = true,
this.goToDefinition = true,
this.rename = true,
});