Open kathrynkodama opened 2 years ago
Framework for both Jakarta LS and Jakarta JDT LS components:
One thing unknown:
We are using JSON file for code completion in Jakarta LS, messages and action details are all defined there, we need a way to handle those messages differently
Loading JSON files:
JakartaEESnippetRegistryLoader
loads each JSON file and adds the contents to SnippetRegistry
SnippetRegistry.getCompletionItem(...)
to create org.eclipse.lsp4j.CompletionItem
object for code completionNew issue open to address creating the Java framework for globalization: https://github.com/eclipse/lsp4jakarta/issues/315
This issue will focus on adding the JSON piece of the framework and externalizing existing strings.
Modifying the messages and locations requires updates in liberty-tools-intellij https://github.com/OpenLiberty/liberty-tools-intellij/issues/453
Externalized messages for diagnostics and quick fixes but not snippets.
Set up framework and externalize existing strings