mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-18 16:08:55 +00:00
Change Signature… (⌘F6, also in Refactor This) on a Java method opens a dialog for its visibility, return type, name and parameters (add with a default value for existing calls, remove, reorder), with Delegate via overloading method and a signature preview. jdtls reads the method (java/getChangeSignatureInfo) and checks the new signature and computes the edit for the method, its overrides and its calls (java/getRefactorEdit changeSignature); warnings are confirmed in Problems Detected before the edit, and Preview lists the changes first. jdtls offers the refactoring only through a client-side command, so Java had no Change Signature before. New IPC: lsp_signature_info, lsp_change_signature.