The communication does seem somewhat different. This is the first request
{
"jsonrpc":"2.0",
"method":"initialize",
"params":{
"capabilities":{
"general":{
"positionEncodings":[
"utf-8",
"utf-32",
"utf-16"
]
},
"textDocument":{
"codeAction":{
"codeActionLiteralSupport":{
"codeActionKind":{
"valueSet":[
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
},
"dataSupport":true,
"disabledSupport":true,
"isPreferredSupport":true,
"resolveSupport":{
"properties":[
"edit",
"command"
]
}
},
"completion":{
"completionItem":{
"deprecatedSupport":true,
"insertReplaceSupport":true,
"resolveSupport":{
"properties":[
"documentation",
"detail",
"additionalTextEdits"
]
},
"snippetSupport":true,
"tagSupport":{
"valueSet":[
1
]
}
},
"completionItemKind":{
}
},
"formatting":{
"dynamicRegistration":false
},
"hover":{
"contentFormat":[
"markdown"
]
},
"inlayHint":{
"dynamicRegistration":false
},
"publishDiagnostics":{
"tagSupport":{
"valueSet":[
1,
2
]
},
"versionSupport":true
},
"rename":{
"dynamicRegistration":false,
"honorsChangeAnnotations":false,
"prepareSupport":true
},
"signatureHelp":{
"signatureInformation":{
"activeParameterSupport":true,
"documentationFormat":[
"markdown"
],
"parameterInformation":{
"labelOffsetSupport":true
}
}
}
},
"window":{
"workDoneProgress":true
},
"workspace":{
"applyEdit":true,
"configuration":true,
"didChangeConfiguration":{
"dynamicRegistration":false
},
"didChangeWatchedFiles":{
"dynamicRegistration":true,
"relativePatternSupport":false
},
"executeCommand":{
"dynamicRegistration":false
},
"fileOperations":{
"didRename":true,
"willRename":true
},
"inlayHint":{
"refreshSupport":false
},
"symbol":{
"dynamicRegistration":false
},
"workspaceEdit":{
"documentChanges":true,
"failureHandling":"abort",
"normalizesLineEndings":false,
"resourceOperations":[
"create",
"rename",
"delete"
]
},
"workspaceFolders":true
}
},
"clientInfo":{
"name":"helix",
"version":"24.7"
},
"processId":19453,
"rootPath":"/home/juraj/OneDrive/u12110/IterativeLQR",
"rootUri":"file:///home/juraj/OneDrive/u12110/IterativeLQR",
"workspaceFolders":[
{
"name":"IterativeLQR",
"uri":"file:///home/juraj/OneDrive/u12110/IterativeLQR"
}
]
},
"id":0
}
and this the first response
{
"id":0,
"jsonrpc":"2.0",
"result":{
"capabilities":{
"textDocumentSync":{
"openClose":true,
"change":2,
"willSave":false,
"willSaveWaitUntil":false,
"save":{
"includeText":true
}
},
"completionProvider":{
"resolveProvider":false,
"triggerCharacters":[
".",
"@",
"\"",
"^"
]
},
"hoverProvider":true,
"signatureHelpProvider":{
"triggerCharacters":[
"(",
","
]
},
"declarationProvider":false,
"definitionProvider":true,
"typeDefinitionProvider":false,
"implementationProvider":false,
"referencesProvider":true,
"documentHighlightProvider":true,
"documentSymbolProvider":true,
"codeActionProvider":true,
"documentLinkProvider":{
"resolveProvider":false
},
"colorProvider":false,
"documentFormattingProvider":true,
"documentRangeFormattingProvider":true,
"renameProvider":{
"prepareProvider":true
},
"foldingRangeProvider":false,
"executeCommandProvider":{
"commands":[
"UpdateDocstringSignature",
"CompareNothingWithTripleEqual",
"AddDocstringTemplate",
"FixMissingRef",
"ReexportModule",
"ReplaceUnusedAssignmentName",
"ExpandFunction",
"RewriteAsRawString",
"ExplicitPackageVarImport",
"DeleteUnusedFunctionArgumentName",
"OrganizeImports",
"AddLicenseIdentifier",
"RewriteAsRegularString"
]
},
"selectionRangeProvider":true,
"inlayHintProvider":true,
"workspaceSymbolProvider":true,
"workspace":{
"workspaceFolders":{
"supported":true,
"changeNotifications":true
}
}
}
}
}