дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
The Debug console had no Find: Cmd-F did nothing there, in the Debug tool window and in Services' debug output alike. It now searches the whole buffer (Match Case / Words / Regex) with the n/m counter, highlights every match with the current one on its own background, scrolls it into view, and offers the Run console's context menu (Copy, Select All, Copy All, Find…, Clear All). The find matching and find bar moved from the Run console into src/ui (consoleFind.ts, ConsoleFindBar.tsx) and are shared by both consoles; Enter on one of the bar's buttons activates it instead of jumping to the next match. Co-authored-by: DomKing <[email protected]>
29 рядки
510 B
CSS
29 рядки
510 B
CSS
/* Find bar (⌘F) of the Run and Debug consoles. */
|
|
.find {
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 8px;
|
|
background: var(--bg-elev);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.findField {
|
|
flex: 0 1 360px;
|
|
min-width: 160px;
|
|
}
|
|
.findCount {
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
padding: 0 6px;
|
|
white-space: nowrap;
|
|
min-width: 56px;
|
|
}
|
|
.findCountNone {
|
|
color: var(--danger);
|
|
}
|
|
.findSpacer {
|
|
flex: 1;
|
|
}
|