дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-27 04:56:08 +02:00
* feat(editor): Drag tabs and files between split panes
HTML5 drag and drop never reaches the webview while native file drop is
enabled, so tab, project-file and changelist drags did nothing. They now
run on pointer events:
- Drag an editor tab onto another pane, or onto a pane's edge to split it.
- Drag files from the Project view into an editor pane (center opens them
there, an edge opens them in a new split).
- Drag files between changelists in the Commit view.
- "Drag-and-drop with Alt pressed only" applies to tabs and stripe buttons.
* fix(lsp): Deliver server settings and start servers on a supported JDK
- workspace/configuration answers a server's own section (basedpyright)
from its settings block; basedpyright runs in "standard" mode and keeps
auto search paths on, so `src/` layouts resolve from `tests/`.
- jdtls: formatting follows the editor indent, calls complete without
guessed arguments, and JDK internals stay out of completion.
- `max-java` in a language server config picks an installed JDK no newer
than that (kotlin-language-server fails on JDK 25).
- Server initialization may take up to 5 minutes (first Gradle import).
- `lsp_resend_diagnostics` re-emits stored diagnostics after a reload.
- Spelling only checks declared names (not called methods like
`substring`) and accepts plurals of known software terms.
* feat(editor): Quick fixes, completion and navigation while typing
Quick fixes
- Errors get a red quick-fix bulb; Apply Quick Fix (⌥⇧↵) fixes the most
severe problem at the caret, and the error hover offers the fix directly.
- Code generated by a code action is re-indented to the file's style.
- Python: Implement abstract methods (⌃I or the bulb) from the bases.
- Duplicate code actions are listed once.
Completion
- Overloads sharing a name, and a name importable from several modules,
are no longer merged into one entry.
- Auto-import entries show the module they import from.
- Call snippets without a stop (`new ArrayList<>()`) leave the caret inside
the parentheses with parameter info, or past them when nothing takes
arguments; parameter info also opens after server call snippets.
- The selected item is resolved ahead of acceptance, so its auto-import
is applied (rust-analyzer).
Navigation and diagnostics
- Language server requests wait for pending edits, so Go to Declaration
right after typing answers for the current text; an empty answer right
after an edit is retried while the server catches up.
- Diagnostics come back after a window reload; error underlines stay
visible under typo / unused highlighting.
- Implementation gutter markers no longer refresh in a loop while the
server reports progress.
- A missing alternative server no longer shows as a server error.
* chore(lint): Skip agent worktrees under .claude
* fix(editor): Skip cancelled LSP requests and limit generated-code reformat
- Requests cancelled while waiting for pending edits are not sent.
- Code generated by an action is reformatted per changed hunk, so an added
import doesn't reformat the code between it and the generated lines.
- A long busy spell caused by a settle refresh re-runs it only once.
- Files dropped on a file row of another changelist move to that changelist.
- Python Implement methods: a nested class without bases ends the lookup,
class bodies continue through unindented string lines, and
`@abstractproperty` stubs become `@property`.
- Resend diagnostics goes through the host ops, and custom servers get
`max_java`.
* fix(editor): Rank the exact type first in Java constructor completion
jdtls appends the call or body to filterText (`String(${0})`); matching
on the label instead lets typing `String` rank `String` above
`StringBuilder` and the other types sharing its sort text.
* fix(editor): List identical completion items once
kotlin-language-server repeats a class once per classpath entry declaring
it, so `String()` and `String` were listed three times each.
* fix(editor): Keep the internal cancellation message out of the UI text catalog
423 рядки
7.3 KiB
CSS
423 рядки
7.3 KiB
CSS
.listPopup {
|
|
min-width: 360px;
|
|
max-width: min(720px, 90vw);
|
|
padding: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.listHeader {
|
|
height: 28px;
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 12px;
|
|
font-size: var(--fs-ui);
|
|
font-weight: 600;
|
|
color: var(--fg-strong);
|
|
}
|
|
.listTitle {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.query {
|
|
font-family: var(--font-mono);
|
|
color: var(--accent);
|
|
}
|
|
.withPreview {
|
|
flex-direction: row;
|
|
width: auto;
|
|
max-width: min(1160px, 94vw);
|
|
}
|
|
.listMain {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
flex: none;
|
|
}
|
|
.mnemonic {
|
|
width: 10px;
|
|
flex: none;
|
|
font-family: var(--font-keys);
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
text-align: right;
|
|
}
|
|
.previewPanel {
|
|
width: 420px;
|
|
flex: none;
|
|
min-height: 60px;
|
|
max-height: 340px;
|
|
overflow: auto;
|
|
border-left: 1px solid var(--border-popup);
|
|
background: var(--bg-popup-inline, var(--bg-elev));
|
|
}
|
|
.previewText {
|
|
padding: 8px 10px;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.diff {
|
|
margin: 0;
|
|
padding: 6px 0;
|
|
font-family: var(--openidea-editor-font, var(--font-mono));
|
|
font-weight: var(--fw-code);
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-editor);
|
|
}
|
|
.diffLine {
|
|
padding: 0 10px;
|
|
white-space: pre;
|
|
min-height: 1.4em;
|
|
}
|
|
.diff-added {
|
|
background: color-mix(in srgb, var(--vcs-added) 20%, transparent);
|
|
}
|
|
.diff-removed {
|
|
background: color-mix(in srgb, var(--danger) 18%, transparent);
|
|
}
|
|
.diff-gap {
|
|
color: var(--fg-faint);
|
|
}
|
|
.listBody {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 24px;
|
|
padding: 0 0 4px;
|
|
box-sizing: content-box;
|
|
}
|
|
.listBody > * {
|
|
flex: 1;
|
|
}
|
|
.item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
width: 100%;
|
|
font-size: var(--fs-ui);
|
|
}
|
|
.emphasis .label {
|
|
font-weight: 600;
|
|
color: var(--fg-strong);
|
|
}
|
|
.disabled {
|
|
color: var(--fg-faint);
|
|
}
|
|
.label {
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.label:has(+ .preview) {
|
|
flex: none;
|
|
max-width: 60%;
|
|
}
|
|
.preview {
|
|
min-width: 80px;
|
|
flex: 0 1 auto;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-muted);
|
|
}
|
|
.spacer {
|
|
flex: 1;
|
|
}
|
|
.subArrow {
|
|
flex: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-right: -4px;
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: var(--radius-small);
|
|
background: none;
|
|
color: var(--fg-muted);
|
|
}
|
|
.subArrow:hover {
|
|
background-color: var(--bg-toolbar-hover);
|
|
}
|
|
.subMenu {
|
|
padding: 6px 0;
|
|
min-width: 200px;
|
|
max-width: 420px;
|
|
}
|
|
.detail {
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.shortcut {
|
|
flex: none;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.shortcut {
|
|
font-family: var(--font-keys);
|
|
}
|
|
.itemIcon {
|
|
flex: none;
|
|
color: var(--fg-muted);
|
|
}
|
|
.iconSpacer {
|
|
width: 14px;
|
|
flex: none;
|
|
}
|
|
.bulb {
|
|
flex: none;
|
|
}
|
|
.empty {
|
|
font-size: var(--fs-ui);
|
|
color: var(--fg-faint);
|
|
}
|
|
|
|
.renamePopup {
|
|
padding: 10px 12px;
|
|
width: 300px;
|
|
}
|
|
.renameLabel {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.renameSuggestions {
|
|
list-style: none;
|
|
margin: 6px 0 0;
|
|
padding: 2px 0;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-row);
|
|
max-height: 140px;
|
|
overflow-y: auto;
|
|
}
|
|
.renameSuggestion {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 2px 8px;
|
|
border: 0;
|
|
border-radius: var(--radius-row);
|
|
background: transparent;
|
|
color: var(--fg);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-ui);
|
|
text-align: left;
|
|
}
|
|
.renameSuggestion:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
.renameSuggestionActive {
|
|
background: var(--bg-selected);
|
|
}
|
|
.renameNote {
|
|
margin-top: 6px;
|
|
font-size: var(--fs-tiny);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.renameHint {
|
|
margin-top: 6px;
|
|
font-size: var(--fs-tiny);
|
|
color: var(--fg-faint);
|
|
}
|
|
|
|
.docPopup {
|
|
max-width: min(600px, 90vw);
|
|
max-height: 420px;
|
|
overflow: auto;
|
|
}
|
|
.docScope {
|
|
display: contents;
|
|
}
|
|
.docFrame {
|
|
outline: none;
|
|
}
|
|
.docWindowFrame {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: auto;
|
|
outline: none;
|
|
}
|
|
.docWindowFrame .docBody {
|
|
flex: 1;
|
|
}
|
|
.docWindowEmpty {
|
|
padding: 16px;
|
|
font-size: var(--fs-ui);
|
|
color: var(--fg-faint);
|
|
}
|
|
.docToolbar {
|
|
position: sticky;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
padding: 2px 6px;
|
|
border-top: 1px solid var(--border-popup);
|
|
background: var(--bg-popup);
|
|
}
|
|
.docBody {
|
|
padding: 10px 14px;
|
|
}
|
|
.defPopup {
|
|
width: min(640px, 90vw);
|
|
max-height: 460px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
.defHeader {
|
|
height: 28px;
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 0 6px 0 12px;
|
|
background: var(--bg-popup-inline, var(--bg-elev));
|
|
border-bottom: 1px solid var(--border-popup);
|
|
font-size: var(--fs-ui);
|
|
color: var(--fg-muted);
|
|
}
|
|
.defFile {
|
|
color: var(--fg-emphasis);
|
|
}
|
|
.defPath {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--fg-subtle);
|
|
}
|
|
.defFrame {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
outline: none;
|
|
}
|
|
.defCount {
|
|
flex: none;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.defBody {
|
|
overflow: auto;
|
|
padding: 4px 12px;
|
|
}
|
|
.defBody pre {
|
|
white-space: pre;
|
|
}
|
|
|
|
.previewSummary {
|
|
padding: 10px 14px 6px;
|
|
font-size: var(--fs-ui);
|
|
color: var(--fg-muted);
|
|
}
|
|
.previewList {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0 0 8px;
|
|
max-height: 320px;
|
|
overflow: auto;
|
|
}
|
|
.previewRow {
|
|
height: var(--h-row);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 14px;
|
|
font-size: var(--fs-ui);
|
|
}
|
|
.previewName {
|
|
color: var(--fg-emphasis);
|
|
}
|
|
.previewPath {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.previewOp,
|
|
.previewCount {
|
|
flex: none;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-muted);
|
|
}
|
|
|
|
.previewWarning {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
padding: 10px 14px 0;
|
|
font-size: var(--fs-ui);
|
|
color: var(--fg-muted);
|
|
}
|
|
.previewWarning > :first-child {
|
|
flex: none;
|
|
margin-top: 1px;
|
|
color: var(--warning);
|
|
}
|
|
.previewLine {
|
|
flex: none;
|
|
min-width: 28px;
|
|
text-align: right;
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-faint);
|
|
}
|
|
.previewCode {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: pre;
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-editor);
|
|
}
|
|
.previewMatch {
|
|
background: var(--bg-search-match);
|
|
color: var(--fg-search-match, inherit);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.statusMessage {
|
|
color: var(--fg-secondary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.reformatGroup {
|
|
margin: 0 0 10px;
|
|
padding: 0;
|
|
border: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
.reformatLegend {
|
|
margin-bottom: 6px;
|
|
padding: 0;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.reformatOption {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: var(--fs-ui);
|
|
}
|