redhat-developer / quarkus-ls

Language server for Quarkus tooling
Eclipse Public License 2.0
44 stars 15 forks source link

textDocument/inlayHint fails when classpath is incorrect #860

Closed angelozerr closed 1 year ago

angelozerr commented 1 year ago

textDocument/inlayHint fails when classpath is incorrect

Fixes #858

fbricon commented 1 year ago

Can you check that other usages of IPackageFragmentRoot are guarded too? Also maybe check in lsp4mp

See:

angelozerr commented 1 year ago

Good catch @fbricon, this check must be done only when project.getPackageFragmentRoot is called:

angelozerr commented 1 year ago

@fbricon can we merge the PR?

fbricon commented 1 year ago

Thanks @angelozerr!