diff --git a/microprofile.ls/org.eclipse.lsp4mp.ls/src/main/java/org/eclipse/lsp4mp/ls/MicroProfileTextDocumentService.java b/microprofile.ls/org.eclipse.lsp4mp.ls/src/main/java/org/eclipse/lsp4mp/ls/MicroProfileTextDocumentService.java index 83560ba3f..1a49c1693 100644 --- a/microprofile.ls/org.eclipse.lsp4mp.ls/src/main/java/org/eclipse/lsp4mp/ls/MicroProfileTextDocumentService.java +++ b/microprofile.ls/org.eclipse.lsp4mp.ls/src/main/java/org/eclipse/lsp4mp/ls/MicroProfileTextDocumentService.java @@ -88,6 +88,8 @@ public MicroProfileTextDocumentService(MicroProfileLanguageServer microprofileLa applicationPropertiesTextDocumentService, sharedSettings, javaTextDocuments); textDocumentServicesMap.put("properties", applicationPropertiesTextDocumentService); textDocumentServicesMap.put("java", javaTextDocumentService); + textDocumentServicesMap.put("class", javaTextDocumentService); + textDocumentServicesMap.put("kt", javaTextDocumentService); } /**