feat(refactor): Java Pull Members Up / Push Members Down (#1183)

Refactor | Pull Members Up… and Push Members Down… for Java, from the Refactor menu, the editor context menu and Refactor This. A dialog picks the destination and the members (Make abstract / Keep abstract); problems are confirmed before anything changes; the edit is applied as one change or previewed first.

JDT LS offers neither as a code action, so the app-owned JDT LS bundle (plugins/java-usages 1.3.0) adds two delegate commands that run JDT's PullUpRefactoringProcessor / PushDownRefactoringProcessor and return the problems and the edit without applying it, exposed as lsp_hierarchy_members / lsp_hierarchy_refactor (also over the remote host dispatcher). The bundled jar was rebuilt from source with JDT LS 1.63.0 and matches the recorded SHA-256.

Co-authored-by: fhrmrk <[email protected]>
Цей коміт міститься в:
Park Jong Hyun authored and GitHub committed 2026-11-04 14:55:42 +08:00
1 джерело 5b46844f88
коміт ed145e3046
39 files changed
+2008 -14

No files matched your search

+2
Переглянути файл
@@ -228,6 +228,8 @@ export const IDEA_ACTIONS: Readonly<Record<string, string>> = {
Inline: "refactor.inline",
Move: "refactor.move",
SafeDelete: "refactor.safeDelete",
MembersPullUp: "refactor.pullMembersUp",
MemberPushDown: "refactor.pushMembersDown",
Run: "run.run",
Debug: "run.debug",
RunClass: "run.runContext",