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.
推荐答案
Alt + Shift + ←(左箭头)
或
Ctrl + E(最近的文件弹出窗口).
还要检查:
Ctrl + Shift + E(最近编辑的文件弹出窗口).
Ctrl + Shift + E (the Recently Edited Files pop-up).
Mac 用户,将 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 在 v14.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)
更新 4 在 IntelliJ IDEA 2018.3 中它是 Alt + Shift + ←(左箭头)
Update 4 In IntelliJ IDEA 2018.3 it's Alt + Shift + ← (Left Arrow)
更新 5 在 IntelliJ IDEA 2019.3 中是 Ctrl + Alt + ←(左箭头)
Update 5 In IntelliJ IDEA 2019.3 it's Ctrl + Alt + ← (Left Arrow)
这篇关于IntelliJ IDEA 中跳转到上一个视图位置(向后/向前导航)的键盘快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!