✨ feat(vscode): 代码阅读预览加 ⌘F 查找栏:整份文件查(折叠着的块里的也算,跳过去时展开),按页面上显示的字不分大小写匹配、中文名也认原名,Enter / ⌘G 跳、Esc 关,高亮直接画在页面上不重画卡片

This commit is contained in:
cruldra committed 2026-10-14 05:40:59 +11:00
1 parent cc3fcda051
commit bd474986bd
27 files changed
+1833 -114

No files matched your search

+45
View File
@@ -1321,6 +1321,21 @@
"command": "superpowers.codeReader.previousOccurrence",
"title": "跳到上一处高亮",
"category": "代码阅读"
},
{
"command": "superpowers.codeReader.find",
"title": "查找",
"category": "代码阅读"
},
{
"command": "superpowers.codeReader.findNext",
"title": "查找下一处",
"category": "代码阅读"
},
{
"command": "superpowers.codeReader.findPrevious",
"title": "查找上一处",
"category": "代码阅读"
}
],
"keybindings": [
@@ -1335,6 +1350,24 @@
"key": "ctrl+up",
"mac": "cmd+up",
"when": "activeCustomEditorId == superpowers.codeReader.preview && superpowers.codeReader.hasOccurrences"
},
{
"command": "superpowers.codeReader.find",
"key": "ctrl+f",
"mac": "cmd+f",
"when": "activeCustomEditorId == superpowers.codeReader.preview"
},
{
"command": "superpowers.codeReader.findNext",
"key": "f3",
"mac": "cmd+g",
"when": "activeCustomEditorId == superpowers.codeReader.preview && superpowers.codeReader.findOpen"
},
{
"command": "superpowers.codeReader.findPrevious",
"key": "shift+f3",
"mac": "shift+cmd+g",
"when": "activeCustomEditorId == superpowers.codeReader.preview && superpowers.codeReader.findOpen"
}
],
"submenus": [
@@ -2940,6 +2973,18 @@
"command": "superpowers.codeReader.previousOccurrence",
"when": "activeCustomEditorId == superpowers.codeReader.preview"
},
{
"command": "superpowers.codeReader.find",
"when": "activeCustomEditorId == superpowers.codeReader.preview"
},
{
"command": "superpowers.codeReader.findNext",
"when": "activeCustomEditorId == superpowers.codeReader.preview"
},
{
"command": "superpowers.codeReader.findPrevious",
"when": "activeCustomEditorId == superpowers.codeReader.preview"
},
{
"command": "superpowers.codeReader.copyFileName",
"when": "false"