简体   繁体   English

可以防止Eclipse自动打开新文件?

[英]Possible to prevent Eclipse automatically opening new files?

Is it possible to prevent Eclipse from spawning a new tab and opening up a newly created file? 是否可以阻止Eclipse生成新选项卡并打开新创建的文件? I am on a low end machine developing for Android, and find it very abrasive that every new layout xml I create automatically opens the layout manager in a new tab. 我正在开发适用于Android的低端机器,并且发现我创建的每个新布局xml都会自动在新选项卡中打开布局管理器。 I would rather the file just be created in the package explorer and if I need to open the new tab, then I can double click it. 我宁愿只在包浏览器中创建文件,如果我需要打开新选项卡,那么我可以双击它。

You can copy/paste an existing file. 您可以复制/粘贴现有​​文件。 That way you get a "new file" which will not be opened automatically. 这样你就得到了一个不会自动打开的“新文件”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM