eclipse 在eclipse中打开最后一个关闭文件的快捷方式?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13639008/
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
ShortCut to open last closed file in eclipse?
提问by Priyank Doshi
In Firefox we have ctrl+Wto close current tab and ctrl+shift+T to open last closed tab.
在 Firefox 中,我们有ctrl+W关闭当前选项卡和ctrl+ shift+T 打开上次关闭的选项卡。
Same in eclipse , we have ctrl+ Wfor closing current file. But is there any shortcut for opening last closed file?
同样在 eclipse 中,我们有ctrl+W用于关闭当前文件。但是有没有打开上次关闭文件的快捷方式?
回答by gks
Yes it's possible. Close a tab and hit the left yellow arrow
in the Eclipse menu bar
above or ALT+ LEFTfrom keyboard, will open you closed files in eclipse editor
是的,这是可能的。关闭一个标签,打left yellow arrow
在Eclipse menu bar
上面或ALT+LEFT从键盘,将打开您在Eclipse编辑器关闭的文件
回答by Chris Gerken
The last file to be edited is shown at the end of the File drop down menu. Selecting it from that menu will re-open the file. By default the 4 most recently edited files are shown. The preferences page lets you change that number to no more than 15. That's the best you can do.
要编辑的最后一个文件显示在文件下拉菜单的末尾。从该菜单中选择它会重新打开文件。默认情况下会显示 4 个最近编辑过的文件。首选项页面可让您将该数字更改为不超过 15。这是您能做的最好的事情。