有关如何在多个显示器上组织 Eclipse 环境的任何提示?
我找不到将 Eclipse 窗口放在两个显示器上的好方法。 目前,我只是将几个窗口分离(单击标题并拖动)到辅助监视器(程序包资源管理器、控制台和大纲),同时保留主监视器具有最大化的源编辑窗口。
除了一些烦人的问题之外,它运行得很好。 当您编辑代码时,分离的窗口不会成为焦点。 这意味着,例如,最后一个构建快捷方式(Alt-Shift-X、Q)不会工作,因为它找不到构建文件(因为包资源管理器不在焦点中)。 此外,文件搜索菜单中的“选定资源”选项不会选择当前的包选择。
所以我想知道分离窗户是正确的方法吗? 您是否有更好的解决方案,以便至少让包资源管理器保持焦点?
谢谢。
附言。 顺便说一句,由于某种原因,“无法找到构建”错误仅在 3.4 版本中开始出现。
I can't find a good way of putting Eclipse windows on two monitors. Currently I just detached (clicked on a header and dragged) a few windows to a secondary monitor (package explorer, console, and outline) while leaving primary monitor with maximized source editing window.
It works pretty well except few annoying issues. Detached windows are not in focus while you are editing your code. Which means that, for example, last build shortcut (Alt-Shift-X, Q) doesn't work because it can't find build file (because package explorer is not in focus). Also "Selected resources" option in a file search menu is not picking up current package selection.
So I was wondering is detaching windows a right way to go? Do you have any better solutions so at least package explorer stays in focus?
Thanks.
PS. Btw "unable to find build" error started showing up only in 3.4 ver for some reason.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
我通过将 Eclipse 扩展到两个显示器来做到这一点,在 Windows 中,您可以通过按住 win 键并点击
P
,然后,选择左侧显示器作为主显示器,拖动 Eclipse 窗口的右侧以完全覆盖另一个屏幕。 然后将eclipse分成三列。 现在我的主显示器专用于代码编辑器,控制台和包资源管理器位于另一台上! 当您的代码拥有整个显示器时,使用
cntrl+{
并使用第二个垂直列来查看同一文件总是有帮助的,或者将另一个文件的选项卡拖到屏幕一侧以查看这两个文件在同一时间。最后我刚刚从窗口保存了我的工作> 保存视角 因为
只要我不在办公室,我就可以在
正常
和双显示器
视角之间切换I did this by extending my eclipse to both monitors, in windows you can make your screens extended by holding win key and tapping
P
,Then, selecting my left monitor as the main one I dragged the right side of the eclipse window to cover the other screen all the way. then made eclipse into three columns. Now my main monitor is dedicated to code editor and console and package explorer are on the other one! when you have a whole monitor for your code it always helps to use
cntrl+{
and have a second vertical column for viewing the same file, or dragging the tab of another file to the side of screen to view both in the same time.Finally I just saved my work from window > save Perspective As
I can switch between my
normal
anddual monitor
perspective whenever I'm not in the office我通过在 Eclipse 中使用 Ctrl+Shift+R 减少了(但没有消除)始终显示包资源管理器的需要,这会弹出一个“按您键入的过滤器”窗口,可以在您记住名称的文件之间进行切换的简单,以及接受通配符,以便轻松查找您部分记住名称的文件。
我在主屏幕上保留源代码,并在辅助屏幕上保留大纲任务和 LogCat (android),如果我发现我正在阅读大量网页内容,我会通过 Synergy 作为独立的第三屏幕启动我的笔记本电脑,这并不理想,但它作品。
I've reduced (but not eliminated) the need for the package explorer to always be showing by using Ctrl+Shift+R in eclipse, this pops up a filter-as-you type window that makes switching between files which you remember the name of easy, as well as accepting wildcards to make it easy to find files you partially remember the name of.
I keep source on my main screen and outline tasks and LogCat (android) on my secondary screen, if I find i'm reading a lot of web content i fire up my laptop via synergy as an independent third screen, it's not ideal but it works.
在 Eclipse Helios(当前为 3.6.2)中,我发现使用另一个窗口在不同屏幕中显示多个文档非常有用。
在主菜单中,转到:
窗口 > 新窗口,
并将其拖到您喜欢的屏幕上。 双击编辑器上的文件名,将最大化编辑器窗口。
我希望我有所帮助。
基尔。
PS:如果你想在关闭Eclipse时保留两个窗口,不要一一关闭。 相反,请选择:文件> 出口。
In the Eclipse Helios (currently 3.6.2) I found very useful the use of another window to bring up multiple documents in different screens.
in the main menu, go:
Window > New window,
and drag it to the screen you prefer. Double click in the filename on the editor and will maximize the editor's window.
I hope i helped.
Kyr.
PS: If you want to maintain both windows when you closing Eclipse, don't close them one by one. Instead go: File > Exit.
我使用 Ultramon 将 Eclipse 分布在两个显示器上。
我的左侧专门用于代码,右侧用于项目资源管理器、搜索、控制台、Ant 和大纲视图。
这样,当我在任务栏或 alt-tab 中单击 Eclipse 内容时,我就能将焦点集中到所有内容上。 我还可以在右侧监视器上覆盖另一个窗口(通常是我的浏览器或跟踪查看器)。 如果我想同时编码和阅读一些参考资料,我会使用 SemTop 固定重叠窗口(这就是快捷键派上用场的地方)。
这样我就可以同时查看代码和 StackOverflow ;)
Ultramon
I use Ultramon to spread my Eclipse across two monitors.
I have the left hand side devoted to the code and the right hand side to the Project Explorer, Search, Console, Ant and Outline views.
This way I get focus to all of my Eclipse stuff when I click on it in the taskbar or alt-tab. I can also overlay another window (usually my browser or a trace viewer) on the right hand monitor. I use SemTop to pin the overlayed window if I want to code and read some reference at the same time (This is where shortcuts keys come in handy).
So I can look at code and StackOverflow at the same time ;)
Ultramon
我将 Eclipse 环境分成
左侧的两个监视器(均以 1600*1200 运行),主编码窗口最大化,轮廓位于右侧。
在第二台显示器上,我有 Junit 窗口、问题、控制台和包资源管理器,
我使用的所有透视图都具有相同的布局。
我从未使用过 Alt-Shift-Q 快捷键,但我找到了 Alt-当我专注于主编码窗口时,用于运行 junit 的 Shift-X、T 快捷方式工作正常。
包资源管理器可能与编码窗口位于同一显示器上吗?
I split the eclipse environment over two monitors (both running at 1600*1200)
on the left I have the main coding window maximised with the outline down the right hand side.
On the second monitor I have the Junit window, Problems, Console and the package explorer
I have the same layout duplicated for all the perspectives that I use.
I have never used the Alt-Shift-Q short cut but I have found the Alt-Shift-X, T shortcut for running junit works fine when I am focussed in the main coding window .
Possibly have the package explorer on the same monitor as the coding window?
我有一个宽屏主显示器和一个非宽屏辅助显示器。 我的主显示器上的布局分为三列:第一列包含上半部分的包资源管理器和下半部分选项卡中的大纲、层次结构和搜索结果视图。 第二列是代码,大约比其他两列宽两倍半。 (因为我办公室里每个人都有宽屏显示器,所以我们标准化了 100 个字符行,而不是 80 个字符。)第三列在顶部有调试视图,有点小; 下面的选项卡中的变量、表达式和 JUnit 视图占据了大部分垂直空间; 以及下面的一个小断点视图。 我的辅助显示器有两个被撕掉的窗口:控制台占据了大部分屏幕,在它下面有一个较小的窗口,其中包含选项卡中的问题和历史视图。
我唯一的抱怨是当我从家里的单显示器设置远程桌面时:辅助显示器上的两个窗口移动到主显示器上。 我有一个“单屏”视角,在这种情况下使用它来纠正这个问题,但是当我回到工作并切换到双显示器视角时,我必须手动将窗口移回到另一个显示器。 我希望 Eclipse 将它们留在那里,但我看不到任何方法可以做到这一点。
I have a widescreen primary monitor and a non-widescreen secondary monitor. The layout on my primary monitor is broken into three columns: column 1 contains the package explorer in the top half and the outline, hierarchy and search results views in tabs on the lower half. Column two is code, and is about two and a half times wider than the other two columns. (Since everybody has widescreen monitors at my office, we've standardized on 100-character lines instead of 80.) The third column has the debug view at the top, somewhat small; the variables, expressions and JUnit views in tabs below that, taking most of the vertical space; and a small breakpoints view below that. My secondary monitor has two torn off windows: the console takes up most of the screen, and below it I have a smaller window containging the problems and history views in tabs.
My only gripe is when I remote desktop in from my single-monitor setup at home: the two windows on the secondary monitor move over to the primary one. I have a "One Screen" perspective which I use in this scenario to rectify that, but when I'm back at work and switch to the dual-monitor perspective, I have to manually move the windows back over to the other monitor. I wish Eclipse would just leave them over there, but I can't see any way to make it do that.
我的主显示器上有我的包资源管理器和代码,而我的辅助显示器上有控制台。 我通过右键单击控制台选项卡并选择“移动...”然后选择“查看”来完成此操作。
这样我就可以拖放控制台窗口并调整其大小。
希望这可以帮助!
I have my Package Explorer and Code on my primary monitor and the Console on my secondary monitor. I do this by right clicking over console tab and selecting Move.. then View.
This way I am able to drag, drop and resize the console window.
Hope this helps!