Closed apupier closed 4 years ago
[Trace - 11:09:37 AM] Sending request 'textDocument/codeAction - (128)'.
Params: {
"textDocument": {
"uri": "file:///home/apupier/ws/camelk-test/Simple.java"
},
"range": {
"start": {
"line": 0,
"character": 23
},
"end": {
"line": 0,
"character": 23
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 0,
"character": 18
},
"end": {
"line": 0,
"character": 35
}
},
"message": "More than one trait defines the same property: 3scale.auto",
"severity": 1
}
]
}
}
I think it should check if there is a code or not. Based on specification the code is not mandatory https://microsoft.github.io/language-server-protocol/specification#diagnostic
code?: number | string;
Fixed with #1503
curent content fo the file:
it seems to be when there is a diagnostic on th file which is provided by anothe rLanguage Server. In this case, you will need to install https://marketplace.visualstudio.com/items?itemName=redhat.vscode-apache-camel to reproduce with provided file inside VS Code