✨ feat(vscode): 代码阅读预览悬停名字即显示链接、单击跳到定义,不再要按 ⌘ / Ctrl
This commit is contained in:
1 parent
8f1af95826
commit
87f68189a3
9 files changed
+238
-96
No files matched your search
@@ -210,7 +210,7 @@ class Preview {
|
||||
this.post({ type: 'definitionProbed', id, found })
|
||||
}
|
||||
|
||||
/** ⌘ / Ctrl + 点击:跳到 offset 处名字的定义,几处时先让用户挑。 */
|
||||
/** 单击链接:跳到 offset 处名字的定义,几处时先让用户挑。 */
|
||||
private async goToDefinition(version: number, offset: number): Promise<void> {
|
||||
const { document } = this
|
||||
if (version !== document.version)
|
||||
|
||||
Reference in new issue
Block a user