OpenLiberty / liberty-tools-eclipse

Eclipse Public License 2.0
11 stars 8 forks source link

Ignore MP code action request for non-MP diagnostics #471

Closed scottkurz closed 10 months ago

scottkurz commented 10 months ago

Fixes #377

Though I'm not aware of it being spec'd or somehow enforced, there is a naming convention buried within the diagnostic fields... the LSP4Jakarta ones all start with "jakarta" and the LSP4MP ones "microprofile".

It comes from the source code like: org.eclipse.lsp4jakarta.jdt.internal.servlet.Constants.DIAGNOSTIC_SOURCE