mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 08:07:49 +00:00
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 <81476595+fhrmrk@users.noreply.github.com>
81 lines
1.1 KiB
CSS
81 lines
1.1 KiB
CSS
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 14px;
|
|
font-size: var(--fs-ui);
|
|
color: var(--fg);
|
|
}
|
|
|
|
.field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.targets {
|
|
color: var(--fg-muted);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.table {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
min-height: 0;
|
|
}
|
|
|
|
.head,
|
|
.row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 110px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 8px;
|
|
min-height: var(--h-list-row);
|
|
}
|
|
|
|
.head {
|
|
color: var(--fg-muted);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.rows {
|
|
max-height: 280px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.row:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.member {
|
|
min-width: 0;
|
|
}
|
|
|
|
.label {
|
|
font-family: var(--font-mono);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hint {
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
}
|
|
|
|
.error {
|
|
color: var(--danger);
|
|
font-size: var(--fs-small);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.busy {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--fg-muted);
|
|
}
|