在 Eclipse 中撤消关闭的选项卡?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2243561/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 19:11:35  来源:igfitidea点击:

Undo closed tab in Eclipse?

eclipsekeyboard-shortcutseclipse-pdt

提问by MaoTseTongue

I was wondering if it were possible in Eclipse PDT to reopen a closed tab by mistake.

我想知道是否有可能在 Eclipse PDT 中错误地重新打开关闭的选项卡。

For example in Firefox I can do Ctrl+ Shift+ T.

例如在 Firefox 中我可以做Ctrl+ Shift+ T

采纳答案by mre

Yes it's possible. Close a tab and hit the left yellow arrow in the Eclipse menu bar above. You can adjust the keyboard shortcut for that in the eclipse preferences under General > Keys.

是的,这是可能的。关闭选项卡并点击上方 Eclipse 菜单栏中的左黄色箭头。您可以在 下的 eclipse 首选项中调整键盘快捷键General > Keys

On Mac it's ?+ [

在 Mac 上它是?+[

回答by cetnar

Try Alt+ left arrowthat will go backward in history - if tab is closed it will reopen it.

尝试Alt+left arrow这将在历史中倒退 - 如果选项卡关闭,它将重新打开它。

回答by Mike

Navigating back through the edit history does work sometimes, but not if you close the tab without actually activating it. You can also try Alt + Fto access the file menu then hit a number to access the appropriate file in the recent file list.

导航回编辑历史有时确实有效,但如果您关闭选项卡而没有实际激活它,则无效。您也可以尝试Alt +F访问文件菜单,然后点击数字以访问最近文件列表中的相应文件。

回答by derio

You may also find the Extended VMM Presentation pluginuseful. Among others, it provides a list of the last several closed tabs.

您可能还会发现Extended VMM Presentation 插件很有用。其中,它提供了最近几个关闭选项卡的列表。

Keep in mind that so far it does not seem to work with the new Eclipse Juno.

请记住,到目前为止,它似乎不适用于新的 Eclipse Juno。