What is the name of this type of Android Studio popup windows or ideaVim action so i can navigate in it using IdeaVim?

huangapple go评论61阅读模式
英文:

What is the name of this type of Android Studio popup windows or ideaVim action so i can navigate in it using IdeaVim?

问题

我想要能够在Android Studio中使用IdeaVim来导航这种类型的窗口。为此,我需要适当操作的名称或此类型弹出窗口的名称,以便进一步搜索。

我正在寻找的示例:

示例A

示例B

我已经为这种类型的自动完成弹出窗口映射了导航(我不需要的示例),但映射不适用于上述示例A和B。

英文:

I want to be able to navigate in this kind of windows in Android Studio using IdeaVim. For that I need the name of propper action or the name of this type of popups so I can search further.

Examples of what I'm looking for:

Example A

Example B

I've already mapped navigation for this kind of auto-completion popups (Example of what I'm NOT looking for),
but the mapping does not applies to the example A & B above.

答案1

得分: 1

你应该查看IdeaVim的readme。有一章关于执行IDE操作 https://github.com/JetBrains/ideavim#executing-ide-actions。所以你要找的操作是:
map ?? <Action>(ShowIntentionActions) - 打开意图操作
map ?? <Action>(GoToAction) - 打开操作搜索窗口
但是目前IdeaVim只在编辑器中工作,所以你不能使用hjkl在上面的窗口中导航。请参见 https://youtrack.jetbrains.com/issue/VIM-2347/Navigation-on-IDEA-windows-like-Settings-Switcher-etc

英文:

You should check out IdeaVim's readme. There is a chapter about executing IDE actions https://github.com/JetBrains/ideavim#executing-ide-actions.
So the actions you are looking for:
map ?? &lt;Action&gt;(ShowIntentionActions) - to open the intention actions
map ?? &lt;Action&gt;(GoToAction) - to open action search window
But at the moment IdeaVim works only in the editor, so you cant use hjkl to navigate in the windows above. See https://youtrack.jetbrains.com/issue/VIM-2347/Navigation-on-IDEA-windows-like-Settings-Switcher-etc

答案2

得分: 1

你的示例 1 的操作 ID/名称是 ShowIntentionActionsShow Context Menu

你的示例 2 的操作 ID/名称是 GotoActionFind Action

你可以使用这里的方法来找到 IdeaVIM 需要的任何操作 ID:https://github.com/JetBrains/ideavim#finding-action-ids

英文:

The action id/name of your example 1 is ShowIntentionActions and Show Context Menu.

The action id/name of your example 2 is GotoAction and Find Action.

You could use the ways here to find any action id that you need for IdeaVIM: https://github.com/JetBrains/ideavim#finding-action-ids

huangapple
  • 本文由 发表于 2023年6月12日 19:58:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/76456440.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定