eclipse / lsp4jakarta

Language Server for Jakarta EE
Eclipse Public License 2.0
34 stars 51 forks source link

Fix package name in snippets for vscode #501

Closed ajm01 closed 1 year ago

ajm01 commented 1 year ago

there is a new "jakarta/java/fileInfo" message supported between LS and LSClient to get the package name file in 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.