OpenLiberty / liberty-tools-vscode

Visual Studio Code extension for Liberty Tools
https://marketplace.visualstudio.com/items?itemName=Open-Liberty.liberty-dev-vscode-ext
Eclipse Public License 2.0
17 stars 34 forks source link

add support for new jakarta LS/Client message - fileInfo #303

Closed ajm01 closed 11 months ago

ajm01 commented 11 months ago

there is a new "jakarta/java/fileInfo" message supported between LS and LSClient to get the package name for the file that is currently having a snippet inserted into it. This was not functioning in the vscode env because the config for that new message was missing from the DelegateCommandHandler and the vscode client config as well. Added this support so that package name can be obtained from the jakarta JDT LS extn. There is a separate PR int he liberty-tools-vscode repo to pick up the tool config side of this.

This PR cannot be merged/built until https://github.com/eclipse/lsp4jakarta/pull/501 is reviewed/merged and a lsp4jakarta snapshot is respun.