IntelliJ IDEA中跳转到上一个视图位置(向后/向前导航)的键盘快捷键 [英] Keyboard shortcut for Jump to Previous View Location (Navigate back/forward) in IntelliJ IDEA
问题描述
我知道 Ctrl + Shift + Backspace 用于转到上次编辑的位置。
I know Ctrl+Shift+Backspace is used to go to the location of the last edit.
但是我想跳到最近的位置,不一定是我编辑过的地方。
But I want to jump to whichever location I was most recently at, not necessarily one where I edited anything.
例如,如果我使用 Ctrl + B 跳转到声明,然后我想回到跳跃前的位置。
For example, if I jumped to a declaration using Ctrl+B, then I want to go back to where I was before jumping.
推荐答案
Ctrl + Alt + ←(左箭头)
或
Ctrl + E ( Recent Files pop -b)
Ctrl + E (Recent Files pop-up).
同时检查:
Ctrl + Shift + E (最近编辑的文件弹出窗口)。
Ctrl + Shift + E (the Recently Edited Files pop-up).
Mac用户,替换< kbd> Ctrl 与⌘(命令)和 Alt 与⌥(选项)。
Mac users, replace Ctrl with ⌘ (command) and Alt with ⌥ (option).
更新在v12.0中它是 Alt + Shift + ←(向左箭头)而不是 Alt + Ctrl + ←(向左箭头)。
Update In v12.0 it's Alt + Shift +← (Left Arrow) instead of Alt + Ctrl + ← (Left Arrow).
更新2 在第14.1版(可能更早)中, Ctrl + [
Update 2 In v14.1 (and possibly earlier) it's Ctrl + [
更新3 在IntelliJ IDEA 2016.3中,它是 Ctrl + Alt + ←(向左箭头)
Update 3 In IntelliJ IDEA 2016.3 it's Ctrl + Alt + ← (Left Arrow)
这篇关于IntelliJ IDEA中跳转到上一个视图位置(向后/向前导航)的键盘快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!