如何在没有鼠标的情况下在 PeekView 窗口中切换窗口 [英] How to switch windows within PeekView window without mouse

查看:29
本文介绍了如何在没有鼠标的情况下在 PeekView 窗口中切换窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用 PeekDefinition 键盘快捷键时,会打开一个窗口,左侧是代码预览,右侧是出现的列表(典型的 PeekView).

When I use use PeekDefinition keyboard shortcut a window is opened with a code preview on the left side and list of occurrences on the right side (typical PeekView).

现在右侧的列表具有焦点.如何在没有鼠标的情况下将其移动到代码预览,以便我可以滚动它并使用键盘进行编辑.

Now the list on right has the focus. How to move it to the code preview without mouse so I could scroll it and edit it with my keyboard.

(我正在使用 vim 仿真)

(I am using vim emulation)

推荐答案

对我来说,在使用 VSCode 1.37.1 的 Windows 上,Shift+Tab 从右侧移动-透视视图的手窗格(文件列表)到左侧窗格(窥视的源代码).

For me, on Windows with VSCode 1.37.1, Shift+Tab moves from the right-hand pane of peek view (list of files) to the left-hand pane (peeked source code).

不过,它似乎不是一个普通的、可定制的键绑定.在我的键盘设置中,有几个东西被绑定到 Shift+Tab(取决于上下文),但没有一个对应于这种行为.所以我不知道它来自哪里或者是否可以更改.

It doesn't seem to be an ordinary, customizable key binding though. In my keyboard settings, several things are bound to Shift+Tab (depending on context), but none correspond to this behavior. So I don't know where it comes from or if it can be changed.

此外,除了使用 Esc 完全关闭预览视图并再次重新打开之外,似乎没有办法返回到右侧窗格.

Also, there seems to be no way to go back to the right-hand pane, other than by closing the peek view entirely with Esc and re-opening it again.

这篇关于如何在没有鼠标的情况下在 PeekView 窗口中切换窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆