дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
feat(debugger): Show a Run to Cursor button when hovering a line while paused (#168)
While the debugger is suspended, hovering the start of a line shows a small button left of its text: Run to Cursor runs to that line, and on the execution line it resumes the program. Settings › Debugger › Show inlay Run to Cursor popup turns it off.
Цей коміт міститься в:
1 джерело
2ec7f5d630
коміт
4dcf0acc07
10 files changed
+186
-1
No files matched your search
@@ -20,6 +20,7 @@ import { loadExceptionBreakpoints } from "./breakpoints/exceptions";
|
||||
import { loadSpecialBreakpoints } from "./breakpoints/special";
|
||||
import { breakpointGutter } from "./editor/breakpointGutter";
|
||||
import { executionPoint } from "./editor/execution";
|
||||
import { runToCursorInlay } from "./editor/runToCursor";
|
||||
import { installSmartStepPicking, smartStepTargets } from "./editor/smartStep";
|
||||
import { onHotCodeReplace } from "./hotswap";
|
||||
import { handleDebugEvent, isLive, loadWatches, publishContext, resetSessions, stopSession, useDebug } from "./state";
|
||||
@@ -59,7 +60,13 @@ export function activate(): () => void {
|
||||
registerEditorContribution({
|
||||
id: "debugger",
|
||||
order: 60,
|
||||
extensions: (ctx) => [breakpointGutter(ctx), executionPoint(ctx), valueTooltip(), smartStepTargets(ctx)],
|
||||
extensions: (ctx) => [
|
||||
breakpointGutter(ctx),
|
||||
executionPoint(ctx),
|
||||
runToCursorInlay(ctx),
|
||||
valueTooltip(),
|
||||
smartStepTargets(ctx),
|
||||
],
|
||||
}),
|
||||
installSmartStepPicking(),
|
||||
onIdeEvent("debug", (e) => {
|
||||
|
||||
Reference in new issue
Заблокувати користувача