Repository navigation
Closed
Description
- Install https://github.com/redhat-developer/intellij-quarkus
- Open the project https://github.com/redhat-developer/intellij-quarkus/tree/main/projects/lsp4mp/projects/maven/microprofile-health-3
- Open https://github.com/redhat-developer/intellij-quarkus/blob/main/projects/lsp4mp/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java
- You should have
Insert @Livenesscode action:
Click on it,, I have this error
@lagergren have you some idea?
Here LSP trace:
[Trace - 09:02:16] Sending request 'initialize - (1)'.
Params: {
"processId": 50440,
"rootPath": "C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3",
"rootUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3",
"initializationOptions": {
"settings": {
"microprofile": {
"tools": {
"execution": {
"mode": "safe"
},
"inlayHint": {
"types": {
"enabled": false
},
"defaultValues": {
"enabled": true
},
"converters": {
"enabled": false
},
"enabled": true,
"resolveExpressions": {
"enabled": true
}
},
"codeLens": {
"urlCodeLensEnabled": true
},
"validation": {
"expression": {
"severity": "error"
},
"syntax": {
"severity": "error"
},
"duplicate": {
"severity": "warning"
},
"unassigned": {
"severity": "warning"
},
"value": {
"severity": "error"
},
"enabled": true,
"required": {
"severity": "none"
},
"unknown": {
"severity": "warning",
"excluded": [
"*/mp-rest/providers/*/priority",
"mp.openapi.schema.*",
"kafka-streams.*",
"camel.*"
]
}
}
}
}
},
"extendedClientCapabilities": {
"completion": {},
"commands": {
"commandsKind": {
"valueSet": [
"microprofile.command.configuration.update",
"microprofile.command.open.uri"
]
}
},
"shouldLanguageServerExitOnShutdown": true
}
},
"capabilities": {
"workspace": {
"applyEdit": true,
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"delete",
"rename"
]
},
"didChangeConfiguration": {
"dynamicRegistration": true
},
"didChangeWatchedFiles": {
"dynamicRegistration": true
},
"symbol": {
"resolveSupport": {
"properties": [
"location.range"
]
}
},
"executeCommand": {
"dynamicRegistration": true
},
"workspaceFolders": true,
"configuration": true,
"semanticTokens": {
"refreshSupport": true
},
"codeLens": {
"refreshSupport": true
},
"fileOperations": {
"didCreate": true,
"didRename": true,
"willRename": true,
"didDelete": true,
"dynamicRegistration": true
},
"inlayHint": {
"refreshSupport": true
},
"inlineValue": {
"refreshSupport": true
},
"diagnostics": {
"refreshSupport": true
},
"foldingRange": {
"refreshSupport": true
},
"textDocumentContent": {
"dynamicRegistration": true
}
},
"textDocument": {
"synchronization": {
"willSave": true,
"willSaveWaitUntil": true,
"didSave": true
},
"completion": {
"completionItem": {
"snippetSupport": true,
"documentationFormat": [
"markdown",
"plaintext"
],
"deprecatedSupport": true,
"resolveSupport": {
"properties": [
"documentation",
"detail",
"additionalTextEdits"
]
},
"insertTextModeSupport": {
"valueSet": [
1,
2
]
},
"labelDetailsSupport": true
},
"insertTextMode": 2,
"completionList": {
"itemDefaults": [
"editRange"
]
},
"dynamicRegistration": true
},
"hover": {
"contentFormat": [
"markdown",
"plaintext"
],
"dynamicRegistration": true
},
"signatureHelp": {
"signatureInformation": {
"parameterInformation": {
"labelOffsetSupport": true
},
"activeParameterSupport": true
},
"dynamicRegistration": true
},
"references": {
"dynamicRegistration": true
},
"documentHighlight": {
"dynamicRegistration": true
},
"documentSymbol": {
"symbolKind": {
"valueSet": [
18,
17,
5,
14,
9,
10,
22,
24,
8,
1,
12,
11,
20,
6,
2,
3,
21,
16,
19,
25,
4,
7,
15,
23,
26,
13
]
},
"hierarchicalDocumentSymbolSupport": true,
"dynamicRegistration": true
},
"formatting": {
"dynamicRegistration": true
},
"rangeFormatting": {
"rangesSupport": true,
"dynamicRegistration": true
},
"declaration": {
"linkSupport": true,
"dynamicRegistration": true
},
"definition": {
"linkSupport": true,
"dynamicRegistration": true
},
"typeDefinition": {
"linkSupport": true,
"dynamicRegistration": true
},
"implementation": {
"linkSupport": true,
"dynamicRegistration": true
},
"codeAction": {
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
},
"dataSupport": true,
"resolveSupport": {
"properties": [
"edit"
]
},
"dynamicRegistration": true
},
"codeLens": {
"dynamicRegistration": true
},
"documentLink": {
"dynamicRegistration": true
},
"colorProvider": {
"dynamicRegistration": true
},
"rename": {
"prepareSupport": true,
"dynamicRegistration": true
},
"publishDiagnostics": {
"relatedInformation": true,
"tagSupport": {
"valueSet": [
1,
2
]
},
"codeDescriptionSupport": true,
"dataSupport": true
},
"foldingRange": {
"dynamicRegistration": true
},
"typeHierarchy": {
"dynamicRegistration": true
},
"callHierarchy": {
"dynamicRegistration": true
},
"semanticTokens": {
"requests": {
"range": false,
"full": true
},
"tokenTypes": [
"namespace",
"type",
"class",
"enum",
"interface",
"struct",
"typeParameter",
"parameter",
"variable",
"property",
"enumMember",
"event",
"function",
"method",
"macro",
"keyword",
"modifier",
"comment",
"string",
"number",
"regexp",
"operator",
"decorator",
"label"
],
"tokenModifiers": [
"declaration",
"definition",
"readonly",
"static"
],
"formats": [
"relative"
],
"multilineTokenSupport": true,
"serverCancelSupport": true,
"dynamicRegistration": true
},
"linkedEditingRange": {
"dynamicRegistration": true
},
"inlayHint": {
"dynamicRegistration": true
},
"inlineValue": {
"dynamicRegistration": true
},
"diagnostic": {
"relatedDocumentSupport": true,
"dynamicRegistration": true
},
"inlineCompletion": {
"dynamicRegistration": true
}
},
"window": {
"workDoneProgress": true,
"showMessage": {
"messageActionItem": {
"additionalPropertiesSupport": false
}
},
"showDocument": {
"support": true
}
},
"general": {
"staleRequestSupport": {
"cancel": true,
"retryOnContentModified": []
},
"positionEncodings": [
"utf-16"
]
}
},
"clientInfo": {
"name": "IntelliJ IDEA 2026.1.5.1",
"version": "IntelliJ IDEA (build IU-261.27258.136)"
},
"trace": "off",
"workspaceFolders": [
{
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3",
"name": "microprofile-health-3"
}
]
}
[Trace - 09:02:16] Received request 'workspace/codeLens/refresh - (1)'
Params: null
[Trace - 09:02:16] Sending response 'workspace/codeLens/refresh - (1)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Received request 'workspace/inlayHint/refresh - (2)'
Params: null
[Trace - 09:02:16] Sending response 'workspace/inlayHint/refresh - (2)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Received response 'initialize - (1)' in 0ms.
Result: {
"capabilities": {
"textDocumentSync": 2,
"hoverProvider": false,
"definitionProvider": false,
"documentSymbolProvider": false,
"workspaceSymbolProvider": true,
"documentFormattingProvider": false,
"documentRangeFormattingProvider": false,
"inlayHintProvider": false
}
}
[Trace - 09:02:16] Sending notification 'initialized'
Params: {}
[Trace - 09:02:16] Sending notification 'textDocument/didOpen'
Params: {
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"languageId": "java",
"version": 1,
"text": "package org.acme;\n\nimport org.eclipse.microprofile.health.HealthCheck;\nimport org.eclipse.microprofile.health.HealthCheckResponse;\n\npublic class MyLivenessCheck implements HealthCheck {\n\n @Override\n public HealthCheckResponse call() {\n return HealthCheckResponse.up(\"alive\");\n }\n\n}\n"
}
}
[Trace - 09:02:16] Received request 'client/registerCapability - (3)'
Params: {
"registrations": [
{
"id": "104e62b5-8477-4f94-b4a1-b8fe9d4fb056",
"method": "textDocument/codeAction",
"registerOptions": {
"resolveProvider": true
}
}
]
}
[Trace - 09:02:16] Received request 'client/registerCapability - (4)'
Params: {
"registrations": [
{
"id": "47b361a0-3a92-4cbc-98d7-ecbf7b6a7500",
"method": "textDocument/codeLens"
}
]
}
[Trace - 09:02:16] Sending response 'client/registerCapability - (3)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Sending response 'client/registerCapability - (4)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Received request 'client/registerCapability - (5)'
Params: {
"registrations": [
{
"id": "79aed55e-ada7-460f-9432-c2ea38de60ce",
"method": "textDocument/completion",
"registerOptions": {
"triggerCharacters": [
".",
"%",
"\u003d",
"$",
"{",
":"
],
"resolveProvider": true,
"documentSelector": [
{
"language": "microprofile-properties"
},
{
"language": "quarkus-properties"
}
]
}
}
]
}
[Trace - 09:02:16] Received request 'client/registerCapability - (6)'
Params: {
"registrations": [
{
"id": "c6d9851a-b25b-4faf-b3de-3c7a6fd126de",
"method": "textDocument/completion",
"registerOptions": {
"triggerCharacters": [
"@",
"\""
],
"resolveProvider": false,
"documentSelector": [
{
"language": "java"
}
]
}
}
]
}
[Trace - 09:02:16] Sending response 'client/registerCapability - (5)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Sending response 'client/registerCapability - (6)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Received request 'client/registerCapability - (7)'
Params: {
"registrations": [
{
"id": "190705b2-9f2e-488b-b9cf-3f007d0e3aef",
"method": "textDocument/hover"
}
]
}
[Trace - 09:02:16] Sending response 'client/registerCapability - (7)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Received request 'client/registerCapability - (8)'
Params: {
"registrations": [
{
"id": "f6f7c154-9f7c-416c-96ec-e9b5bca1c17d",
"method": "textDocument/documentSymbol",
"registerOptions": {
"documentSelector": [
{
"language": "microprofile-properties"
},
{
"language": "quarkus-properties"
}
]
}
}
]
}
[Trace - 09:02:16] Received request 'client/registerCapability - (9)'
Params: {
"registrations": [
{
"id": "2189eaf8-8d6e-4412-9d2f-ffae9d12e1c8",
"method": "textDocument/definition"
}
]
}
[Trace - 09:02:16] Sending response 'client/registerCapability - (8)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Sending response 'client/registerCapability - (9)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Received request 'client/registerCapability - (10)'
Params: {
"registrations": [
{
"id": "badacbeb-5f8f-4048-bc7b-da568719e02e",
"method": "textDocument/formatting",
"registerOptions": {
"documentSelector": [
{
"language": "microprofile-properties"
},
{
"language": "quarkus-properties"
}
]
}
}
]
}
[Trace - 09:02:16] Sending response 'client/registerCapability - (10)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Received request 'client/registerCapability - (11)'
Params: {
"registrations": [
{
"id": "eee69089-6239-4e60-a9d4-3feaab004365",
"method": "textDocument/rangeFormatting",
"registerOptions": {
"documentSelector": [
{
"language": "microprofile-properties"
},
{
"language": "quarkus-properties"
}
]
}
}
]
}
[Trace - 09:02:16] Sending response 'client/registerCapability - (11)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Received request 'client/registerCapability - (12)'
Params: {
"registrations": [
{
"id": "ed78ace6-67b4-4d44-8620-caba0e48b6e5",
"method": "textDocument/documentHighlight",
"registerOptions": {
"documentSelector": [
{
"language": "microprofile-properties"
},
{
"language": "quarkus-properties"
}
]
}
}
]
}
[Trace - 09:02:16] Sending response 'client/registerCapability - (12)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Received request 'client/registerCapability - (13)'
Params: {
"registrations": [
{
"id": "01ad5139-426c-4af1-b7d0-4b4427a6d4f1",
"method": "textDocument/inlayHint",
"registerOptions": {}
}
]
}
[Trace - 09:02:16] Sending response 'client/registerCapability - (13)'. Processing request took 0ms
No response returned.
[Trace - 09:02:16] Received request 'microprofile/java/fileInfo - (14)'
Params: {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
}
[Trace - 09:02:16] Sending response 'microprofile/java/fileInfo - (14)'. Processing request took 0ms
Result: {
"packageName": "org.acme"
}
[Trace - 09:02:16] Received request 'microprofile/java/projectLabels - (15)'
Params: {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"types": [
"jakarta.ws.rs.GET",
"org.eclipse.microprofile.rest.client.inject.RegisterRestClient",
"org.eclipse.microprofile.metrics.annotation.Metric",
"org.eclipse.microprofile.metrics.annotation.Counted",
"org.eclipse.microprofile.metrics.annotation.Gauge",
"org.eclipse.microprofile.metrics.annotation.ConcurrentGauge",
"org.eclipse.microprofile.metrics.annotation.Metered",
"org.eclipse.microprofile.metrics.annotation.Timed",
"org.eclipse.microprofile.metrics.annotation.SimplyTimed",
"org.eclipse.microprofile.metrics.annotation.RegistryType",
"org.eclipse.microprofile.openapi.annotations.Operation",
"org.eclipse.microprofile.openapi.annotations.media.Content",
"org.eclipse.microprofile.openapi.annotations.media.Schema",
"org.eclipse.microprofile.openapi.annotations.parameters.Parameters",
"org.eclipse.microprofile.openapi.annotations.parameters.Parameter",
"org.eclipse.microprofile.openapi.annotations.responses.APIResponses",
"org.eclipse.microprofile.openapi.annotations.responses.APIResponse",
"org.eclipse.microprofile.faulttolerance.Timeout",
"org.eclipse.microprofile.faulttolerance.Retry",
"org.eclipse.microprofile.faulttolerance.Fallback",
"org.eclipse.microprofile.faulttolerance.CircuitBreaker",
"org.eclipse.microprofile.faulttolerance.Bulkhead",
"org.eclipse.microprofile.health.Readiness",
"org.eclipse.microprofile.health.Liveness",
"javax.ws.rs.GET",
"io.quarkus.test.junit.QuarkusTest",
"io.quarkus.test.junit.SubstrateTest",
"io.quarkus.test.junit.QuarkusIntegrationTest"
]
}
[Trace - 09:02:16] Sending response 'microprofile/java/projectLabels - (15)'. Processing request took 0ms
Result: {
"uri": "microprofile-health-3",
"name": "microprofile-health-3",
"labels": [
"microprofile",
"quarkus",
"maven",
"org.eclipse.microprofile.health.Readiness",
"org.eclipse.microprofile.health.Liveness",
"io.quarkus.test.junit.QuarkusTest",
"io.quarkus.test.junit.QuarkusIntegrationTest"
]
}
[Trace - 09:02:16] Received request 'microprofile/java/diagnostics - (16)'
Params: {
"uris": [
"file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
],
"documentFormat": 2,
"settings": {
"validationValueSeverity": 1,
"mode": 1
}
}
[Trace - 09:02:16] Sending response 'microprofile/java/diagnostics - (16)'. Processing request took 0ms
Result: [
{
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
]
}
]
[Trace - 09:02:16] Received notification 'textDocument/publishDiagnostics'
Params: {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
]
}
[Trace - 09:02:16] Sending request 'textDocument/codeAction - (2)'.
Params: {
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"only": [
"quickfix"
],
"triggerKind": 2
}
}
[Trace - 09:02:16] Received request 'microprofile/java/codeAction - (17)'
Params: {
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"resolveSupported": true,
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"only": [
"quickfix"
],
"triggerKind": 2
}
}
[Trace - 09:02:16] Sending response 'microprofile/java/codeAction - (17)'. Processing request took 0ms
Result: [
{
"title": "Insert @Liveness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Liveness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
},
{
"title": "Insert @Readiness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Readiness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
},
{
"title": "Insert @Startup",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Startup"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
}
]
[Trace - 09:02:16] Received response 'textDocument/codeAction - (2)' in 0ms.
Result: [
{
"title": "Insert @Liveness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Liveness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
},
{
"title": "Insert @Readiness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Readiness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
},
{
"title": "Insert @Startup",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Startup"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
}
]
[Trace - 09:02:16] Sending request 'textDocument/inlayHint - (3)'.
Params: {
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 13,
"character": 0
}
}
}
[Trace - 09:02:16] Sending request 'textDocument/codeLens - (4)'.
Params: {
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
}
}
[Trace - 09:02:16] Received request 'microprofile/java/inlayHint - (18)'
Params: {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"settings": {
"mode": 1,
"enabled": true,
"converters": {
"enabled": false
},
"defaultValues": {
"enabled": true
},
"resolveExpressions": {
"enabled": true
},
"types": {
"enabled": false
}
}
}
[Trace - 09:02:16] Received request 'microprofile/java/codeLens - (19)'
Params: {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"urlCodeLensEnabled": true,
"openURICommand": "microprofile.command.open.uri",
"checkServerAvailable": true
}
[Trace - 09:02:16] Sending response 'microprofile/java/codeLens - (19)'. Processing request took 0ms
Result: []
[Trace - 09:02:16] Sending response 'microprofile/java/inlayHint - (18)'. Processing request took 0ms
Result: []
[Trace - 09:02:16] Received response 'textDocument/codeLens - (4)' in 37ms.
Result: []
[Trace - 09:02:16] Received response 'textDocument/inlayHint - (3)' in 37ms.
Result: []
[Trace - 09:02:32] Sending request 'textDocument/codeAction - (5)'.
Params: {
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"range": {
"start": {
"line": 5,
"character": 23
},
"end": {
"line": 5,
"character": 23
}
},
"context": {
"diagnostics": [],
"triggerKind": 2
}
}
[Trace - 09:02:32] Received request 'microprofile/java/codeAction - (20)'
Params: {
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"resolveSupported": true,
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"range": {
"start": {
"line": 5,
"character": 23
},
"end": {
"line": 5,
"character": 23
}
},
"context": {
"diagnostics": [],
"triggerKind": 2
}
}
[Trace - 09:02:32] Sending response 'microprofile/java/codeAction - (20)'. Processing request took 0ms
Result: []
[Trace - 09:02:32] Received response 'textDocument/codeAction - (5)' in 0ms.
Result: []
[Trace - 09:02:33] Sending request 'textDocument/hover - (6)'.
Params: {
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"position": {
"line": 5,
"character": 17
}
}
[Trace - 09:02:33] Received request 'microprofile/java/hover - (21)'
Params: {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"position": {
"line": 5,
"character": 17
},
"documentFormat": 2,
"surroundEqualsWithSpaces": false
}
[Trace - 09:02:33] Sending response 'microprofile/java/hover - (21)'. Processing request took 0ms
No response returned.
[Trace - 09:02:33] Received response 'textDocument/hover - (6)' in 0ms.
No response returned.
[Trace - 09:02:37] Sending request 'codeAction/resolve - (7)'.
Params: {
"title": "Insert @Liveness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Liveness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
}
[Trace - 09:02:37] Received request 'microprofile/java/codeActionResolve - (22)'
Params: {
"title": "Insert @Liveness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"edit": {
"changes": {},
"documentChanges": [
{
"textDocument": {
"version": 0,
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"edits": [
{
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 13,
"character": 0
}
},
"newText": "package org.acme;\n\nimport org.eclipse.microprofile.health.HealthCheck;\nimport org.eclipse.microprofile.health.HealthCheckResponse;\nimport org.eclipse.microprofile.health.Liveness;\n\n@Liveness\npublic class MyLivenessCheck implements HealthCheck {\n\n @Override\n public HealthCheckResponse call() {\n return HealthCheckResponse.up(\"alive\");\n }\n\n}\n"
}
]
}
]
},
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Liveness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
}
[Trace - 09:02:37] Sending response 'microprofile/java/codeActionResolve - (22)'. Processing request took 0ms
Result: {
"title": "Insert @Liveness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"edit": {
"changes": {},
"documentChanges": [
{
"textDocument": {
"version": 0,
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"edits": [
{
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 13,
"character": 0
}
},
"newText": "package org.acme;\n\nimport org.eclipse.microprofile.health.HealthCheck;\nimport org.eclipse.microprofile.health.HealthCheckResponse;\nimport org.eclipse.microprofile.health.Liveness;\n\n@Liveness\npublic class MyLivenessCheck implements HealthCheck {\n\n @Override\n public HealthCheckResponse call() {\n return HealthCheckResponse.up(\"alive\");\n }\n\n}\n"
}
]
}
]
},
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Liveness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
}
[Trace - 09:02:37] Received response 'codeAction/resolve - (7)' in 0ms.
Result: {
"title": "Insert @Liveness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"edit": {
"changes": {},
"documentChanges": [
{
"textDocument": {
"version": 0,
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"edits": [
{
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 13,
"character": 0
}
},
"newText": "package org.acme;\n\nimport org.eclipse.microprofile.health.HealthCheck;\nimport org.eclipse.microprofile.health.HealthCheckResponse;\nimport org.eclipse.microprofile.health.Liveness;\n\n@Liveness\npublic class MyLivenessCheck implements HealthCheck {\n\n @Override\n public HealthCheckResponse call() {\n return HealthCheckResponse.up(\"alive\");\n }\n\n}\n"
}
]
}
]
},
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Liveness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
}
[Trace - 09:02:50] Sending request 'textDocument/hover - (8)'.
Params: {
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"position": {
"line": 5,
"character": 22
}
}
[Trace - 09:02:50] Received request 'microprofile/java/hover - (23)'
Params: {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"position": {
"line": 5,
"character": 22
},
"documentFormat": 2,
"surroundEqualsWithSpaces": false
}
[Trace - 09:02:50] Sending response 'microprofile/java/hover - (23)'. Processing request took 0ms
No response returned.
[Trace - 09:02:50] Received response 'textDocument/hover - (8)' in 0ms.
No response returned.
[Trace - 09:06:23] Sending request 'textDocument/codeAction - (9)'.
Params: {
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"range": {
"start": {
"line": 5,
"character": 19
},
"end": {
"line": 5,
"character": 20
}
},
"context": {
"diagnostics": [],
"triggerKind": 2
}
}
[Trace - 09:06:23] Received request 'microprofile/java/codeAction - (24)'
Params: {
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"resolveSupported": true,
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"range": {
"start": {
"line": 5,
"character": 19
},
"end": {
"line": 5,
"character": 20
}
},
"context": {
"diagnostics": [],
"triggerKind": 2
}
}
[Trace - 09:06:23] Sending response 'microprofile/java/codeAction - (24)'. Processing request took 0ms
Result: []
[Trace - 09:06:23] Received response 'textDocument/codeAction - (9)' in 0ms.
Result: []
[Trace - 09:06:25] Sending request 'textDocument/codeAction - (10)'.
Params: {
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"range": {
"start": {
"line": 3,
"character": 59
},
"end": {
"line": 3,
"character": 59
}
},
"context": {
"diagnostics": [],
"triggerKind": 2
}
}
[Trace - 09:06:25] Received request 'microprofile/java/codeAction - (25)'
Params: {
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"resolveSupported": true,
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"range": {
"start": {
"line": 3,
"character": 59
},
"end": {
"line": 3,
"character": 59
}
},
"context": {
"diagnostics": [],
"triggerKind": 2
}
}
[Trace - 09:06:25] Sending response 'microprofile/java/codeAction - (25)'. Processing request took 0ms
Result: []
[Trace - 09:06:25] Received response 'textDocument/codeAction - (10)' in 0ms.
Result: []
[Trace - 09:06:26] Sending request 'textDocument/hover - (11)'.
Params: {
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"position": {
"line": 5,
"character": 18
}
}
[Trace - 09:06:26] Received request 'microprofile/java/hover - (26)'
Params: {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"position": {
"line": 5,
"character": 18
},
"documentFormat": 2,
"surroundEqualsWithSpaces": false
}
[Trace - 09:06:26] Sending response 'microprofile/java/hover - (26)'. Processing request took 0ms
No response returned.
[Trace - 09:06:26] Received response 'textDocument/hover - (11)' in 0ms.
No response returned.
[Trace - 09:06:27] Sending request 'codeAction/resolve - (12)'.
Params: {
"title": "Insert @Liveness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Liveness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
}
[Trace - 09:06:27] Received request 'microprofile/java/codeActionResolve - (27)'
Params: {
"title": "Insert @Liveness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"edit": {
"changes": {},
"documentChanges": [
{
"textDocument": {
"version": 0,
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"edits": [
{
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 13,
"character": 0
}
},
"newText": "package org.acme;\n\nimport org.eclipse.microprofile.health.HealthCheck;\nimport org.eclipse.microprofile.health.HealthCheckResponse;\nimport org.eclipse.microprofile.health.Liveness;\n\n@Liveness\npublic class MyLivenessCheck implements HealthCheck {\n\n @Override\n public HealthCheckResponse call() {\n return HealthCheckResponse.up(\"alive\");\n }\n\n}\n"
}
]
}
]
},
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Liveness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
}
[Trace - 09:06:27] Sending response 'microprofile/java/codeActionResolve - (27)'. Processing request took 0ms
Result: {
"title": "Insert @Liveness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"edit": {
"changes": {},
"documentChanges": [
{
"textDocument": {
"version": 0,
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"edits": [
{
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 13,
"character": 0
}
},
"newText": "package org.acme;\n\nimport org.eclipse.microprofile.health.HealthCheck;\nimport org.eclipse.microprofile.health.HealthCheckResponse;\nimport org.eclipse.microprofile.health.Liveness;\n\n@Liveness\npublic class MyLivenessCheck implements HealthCheck {\n\n @Override\n public HealthCheckResponse call() {\n return HealthCheckResponse.up(\"alive\");\n }\n\n}\n"
}
]
}
]
},
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Liveness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
}
[Trace - 09:06:27] Received response 'codeAction/resolve - (12)' in 0ms.
Result: {
"title": "Insert @Liveness",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"severity": 2,
"code": "HealthAnnotationMissing",
"source": "microprofile-health",
"message": "The class `org.acme.MyLivenessCheck` implementing the HealthCheck interface should use the @Liveness, @Readiness or @Startup annotation."
}
],
"edit": {
"changes": {},
"documentChanges": [
{
"textDocument": {
"version": 0,
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"edits": [
{
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 13,
"character": 0
}
},
"newText": "package org.acme;\n\nimport org.eclipse.microprofile.health.HealthCheck;\nimport org.eclipse.microprofile.health.HealthCheckResponse;\nimport org.eclipse.microprofile.health.Liveness;\n\n@Liveness\npublic class MyLivenessCheck implements HealthCheck {\n\n @Override\n public HealthCheckResponse call() {\n return HealthCheckResponse.up(\"alive\");\n }\n\n}\n"
}
]
}
]
},
"data": {
"participantId": "com.redhat.devtools.intellij.lsp4mp4ij.psi.internal.health.java.HealthAnnotationMissingQuickFix",
"documentUri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java",
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 28
}
},
"extendedData": {
"annotation": [
"org.eclipse.microprofile.health.Liveness"
]
},
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"id": "InsertMissingHealthAnnotation"
}
}
[Trace - 09:06:27] Sending request 'textDocument/codeAction - (13)'.
Params: {
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 13
}
},
"context": {
"diagnostics": [],
"triggerKind": 2
}
}
[Trace - 09:06:27] Received request 'microprofile/java/codeAction - (28)'
Params: {
"resourceOperationSupported": true,
"commandConfigurationUpdateSupported": true,
"resolveSupported": true,
"textDocument": {
"uri": "file:///C:/Users/AngeloZerr/git/lsp4mp/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/projects/maven/microprofile-health-3/src/main/java/org/acme/MyLivenessCheck.java"
},
"range": {
"start": {
"line": 5,
"character": 13
},
"end": {
"line": 5,
"character": 13
}
},
"context": {
"diagnostics": [],
"triggerKind": 2
}
}
[Trace - 09:06:27] Sending response 'microprofile/java/codeAction - (28)'. Processing request took 1ms
Result: []
[Trace - 09:06:27] Received response 'textDocument/codeAction - (13)' in 1ms.
Result: []
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
angelozerr commentedon Nov 6, 2026
I think it is because language server return 0 as version:
But it worked before.
lagergren commentedon Nov 6, 2026
I Will take a look!
lagergren commentedon Nov 6, 2026
You're right, it's the version 0, and it's my regression from #1733. That PR started validating the edit of a resolved code action, and a version that isn't the document's current one is refused. intellij-quarkus's
ChangeUtilalways sendsconvertToTextDocumentEdit(0)(Liberty Tools for IntelliJ too), while LSP4IJ numbers versions from 1, so every such quick fix was refused. #1733 isn't in a release yet (0.21.0 doesn't have it).#1877 fixes it. A version below 1 is a placeholder LSP4IJ never sent, so a reply that names it, such as a resolved code action, is accepted if the server had been sent the document's text before the request, and the document is unchanged since. #1733's protection against applying a stale edit stays. An incoming
workspace/applyEditstill refuses version 0, as before and as VS Code does, since nothing tells which text it was made for.fix: treat an edit's version 0 as no version, so intellij-quarkus cod…