дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-26 20:46:22 +02:00
Refactor > Extract Interface… (also in Refactor This) opens a dialog for the class of the current Java file: interface name, package and members. jdtls checks the extraction and computes the edit, which creates the interface, makes the class implement it and uses it where possible; the new file opens afterwards.
89 рядки
1.3 KiB
CSS
89 рядки
1.3 KiB
CSS
.dialog [data-dialog-body] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-3);
|
|
padding: 14px;
|
|
font-size: var(--fs-ui);
|
|
color: var(--fg);
|
|
}
|
|
|
|
.field {
|
|
flex: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-1-5);
|
|
}
|
|
|
|
.source {
|
|
font-family: var(--font-mono);
|
|
color: var(--fg-muted);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.table {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
.head,
|
|
.row {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: 0 8px;
|
|
min-height: var(--h-list-row);
|
|
}
|
|
|
|
.head {
|
|
color: var(--fg-muted);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.rows {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
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;
|
|
}
|
|
|
|
.error {
|
|
flex: none;
|
|
color: var(--danger);
|
|
font-size: var(--fs-small);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.busy {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
color: var(--fg-muted);
|
|
}
|