How to go back in Eclipse?

后端 未结 7 1924
花落未央
花落未央 2020-12-12 12:21

Is there a way to go back in Eclipse? Basically, when I\'m jumping around a big project following the execution flow (ctrl + click and etc.), is there a way to retrace a ste

7条回答
  •  再見小時候
    2020-12-12 12:57

    Keyboard bindings can change based on your OS and current Keys Scheme. So the best way to know a keyboard binding is to look up its Command in Preferences > Keys. That is also where you can change or add a keyboard binding.

    Which means instead of asking for a shortcut, you should generally ask for the command (or at least ask for both). In this case the commands you want are Backward History and Forward History. You can see in the following screenshot that they are mapped to Ctrl+[ and Ctrl+] in my Key Scheme (because I changed them to that).

    As mentioned by others, Last Edit Location can be a really useful command also. In my case it's mapped to Ctrl+Q, but you check it under Keys :).

提交回复
热议问题