feat(debugger): Browse the debug console history and open diff settings from the keyboard (#162)

- Debug console: typed expressions are kept per project, and Browse Console
  History (⌥⌘E / Ctrl+Alt+E) lists them, most recent first, to put one back
  into the input.
- Diff viewer: Diff Settings (⇧⌘D / Ctrl+Shift+D) opens the viewer options
  (side-by-side / unified, whitespace, highlighting, collapsing, scroll sync)
  as a popup menu.
This commit is contained in:
l0ng-ai authored and GitHub committed 2026-10-29 02:16:37 +08:00
1 parent a28600c55a
commit aeb190ffda
10 files changed
+142 -10

No files matched your search

+2
View File
@@ -282,6 +282,7 @@ export const intellijMacos: Record<string, string[]> = {
"debug.jumpToSource": ["F4", "Meta+Down"],
"debug.evaluate": ["Alt+F8"],
"debug.quickEvaluate": ["Meta+Alt+F8"],
"debug.browseConsoleHistory": ["Meta+Alt+E"],
// VCS
"vcs.operations": ["Ctrl+V"],
@@ -321,6 +322,7 @@ export const intellijMacos: Record<string, string[]> = {
"diff.applyRightSide": ["Ctrl+Meta+Left"],
"diff.nextFile": ["Ctrl+Shift+Right"],
"diff.prevFile": ["Ctrl+Shift+Left"],
"diff.showSettings": ["Meta+Shift+D"],
// After Show Diff: ⌘D is Compare With… in the project view.
"project.compareWith": ["Meta+D"],
// Editing extras, image viewer (keyWhen: image focused) and Markdown editor layouts
+2
View File
@@ -276,6 +276,7 @@ export const intellijWindows: Record<string, string[]> = {
"debug.jumpToSource": ["F4"],
"debug.evaluate": ["Alt+F8"],
"debug.quickEvaluate": ["Ctrl+Alt+F8"],
"debug.browseConsoleHistory": ["Ctrl+Alt+E"],
// VCS
"vcs.operations": ["Alt+`"],
@@ -319,6 +320,7 @@ export const intellijWindows: Record<string, string[]> = {
"diff.applyRightSide": ["Ctrl+Alt+A"],
"diff.nextFile": ["Alt+Shift+Right"],
"diff.prevFile": ["Alt+Shift+Left"],
"diff.showSettings": ["Ctrl+Shift+D"],
// After Show Diff: Ctrl+D is Compare With… in the project view.
"project.compareWith": ["Ctrl+D"],
// Editing extras, image viewer (keyWhen: image focused) and Markdown editor layouts
+2
View File
@@ -54,6 +54,7 @@ export const vscodeMacos: Record<string, string[]> = {
"project.copyElement": [],
"run.chooseDebugConfig": [],
"debug.quickEvaluate": [],
"debug.browseConsoleHistory": [],
"editor.nextSplitter": [],
"editor.prevSplitter": [],
"toolwindow.resizeLeft": [],
@@ -329,6 +330,7 @@ export const vscodeMacos: Record<string, string[]> = {
"diff.applyRightSide": [],
"diff.nextFile": [],
"diff.prevFile": [],
"diff.showSettings": [],
"diff.prevDifference": ["Shift+F7"],
"diff.jumpToSource": [],
// HTTP Client / Database console: run the request or statement at the caret.
+7 -1
View File
@@ -4607,5 +4607,11 @@
"Compare Next File": "比较下一个文件",
"Compare Previous File": "比较上一个文件",
"Context Info": "上下文信息",
"No context information here": "此处没有上下文信息"
"No context information here": "此处没有上下文信息",
"Diff Settings": "差异设置",
"Viewer": "查看器",
"Ignore Whitespace": "忽略空白",
"Browse Console History": "浏览控制台历史",
"Focus the debug console input first": "请先聚焦调试控制台输入框",
"No history": "无历史记录"
}