lsp4jakarta icon indicating copy to clipboard operation
lsp4jakarta copied to clipboard

Enhance "CodeActionHandler.codeAction"

Open bensonnw opened this issue 3 years ago • 0 comments

  • Create QuickFix class instances on demand - current implementation creates all instances at once.
  • Add Null check for each QuickFix getCodeActions API call.
  • If all Diagnostic codes are unique, consider to use else if to avoid extra if checks.
  • Assign diagnostic.getCode().getLeft() to a variable.

bensonnw avatar Nov 17 '22 17:11 bensonnw