✨ feat(vscode): 代码阅读的名字高亮更显眼(当前那处描框、别处画细线),⌘↓ / ⌘↑ 在各处之间跳,跳到折叠处自动展开,筛选栏写第几处

This commit is contained in:
cruldra committed 2026-09-26 23:47:43 +08:00
1 parent c5c5d2b517
commit 49f253b80f
18 files changed
+731 -53

No files matched your search

+32
View File
@@ -160,6 +160,30 @@
"title": "编辑注释",
"category": "代码阅读",
"icon": "$(edit)"
},
{
"command": "superpowers.codeReader.nextOccurrence",
"title": "跳到下一处高亮",
"category": "代码阅读"
},
{
"command": "superpowers.codeReader.previousOccurrence",
"title": "跳到上一处高亮",
"category": "代码阅读"
}
],
"keybindings": [
{
"command": "superpowers.codeReader.nextOccurrence",
"key": "ctrl+down",
"mac": "cmd+down",
"when": "activeCustomEditorId == superpowers.codeReader.preview && superpowers.codeReader.hasOccurrences"
},
{
"command": "superpowers.codeReader.previousOccurrence",
"key": "ctrl+up",
"mac": "cmd+up",
"when": "activeCustomEditorId == superpowers.codeReader.preview && superpowers.codeReader.hasOccurrences"
}
],
"submenus": [
@@ -296,6 +320,14 @@
"command": "superpowers.codeReader.showSource",
"when": "activeCustomEditorId == superpowers.codeReader.preview"
},
{
"command": "superpowers.codeReader.nextOccurrence",
"when": "activeCustomEditorId == superpowers.codeReader.preview"
},
{
"command": "superpowers.codeReader.previousOccurrence",
"when": "activeCustomEditorId == superpowers.codeReader.preview"
},
{
"command": "superpowers.codeReader.copyFileName",
"when": "false"