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.
我找不到将Eclipse窗口放在两台显示器上的好方法。目前我只是将一些窗口分离(点击标题并拖动)到辅助监视器(包浏览器,控制台和大纲),同时使主监视器具有最大化源编辑窗口。
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.
除了一些烦人的问题外,它的效果非常好。在编辑代码时,分离的窗口不是焦点。这意味着,例如,上次构建快捷方式(Alt-Shift-X,Q)不起作用,因为它找不到构建文件(因为包浏览器不在焦点)。此外,文件搜索菜单中的“选定资源”选项不会获取当前包选择。
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.
PS。由于某种原因,btw“无法找到构建”错误仅在3.4版本中出现。
7 个解决方案
#1
264
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:
在Eclipse Helios(目前是3.6.2)中,我发现使用另一个窗口在不同的屏幕中显示多个文档非常有用。在主菜单中,转到:
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.
PS:如果要在关闭Eclipse时保持两个窗口,请不要逐个关闭它们。而是去:文件>退出。
#2
12
I use Ultramon to spread my Eclipse across two monitors.
我使用Ultramon将Eclipse传播到两台显示器上。
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.
我的左侧专门用于代码,右侧用于Project Explorer,Search,Console,Ant和Outline视图。
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).
这样,当我在任务栏或alt-tab中单击它时,我会专注于所有Eclipse的东西。我还可以在右侧监视器上覆盖另一个窗口(通常是我的浏览器或跟踪查看器)。如果我想同时编码和读取一些引用,我使用SemTop来固定叠加的窗口(这是快捷键派上用场的地方)。
So I can look at code and * at the same time ;)
所以我可以同时查看代码和*;)
#3
4
I split the eclipse environment over two monitors (both running at 1600*1200)
我将eclipse环境分为两个监视器(均以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
在第二台显示器上,我有Junit窗口,Problems,Console和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 .
我从来没有使用过Alt-Shift-Q快捷方式,但我发现当我专注于主编码窗口时,运行junit的Alt-Shift-X,T快捷键工作正常。
Possibly have the package explorer on the same monitor as the coding window?
可能在与浏览器编码窗口相同的监视器上安装了包浏览器吗?
#4
2
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.
我有一个宽屏主显示器和一个非宽屏辅助显示器。我的主监视器上的布局分为三列:第1列包含上半部分的包浏览器以及下半部分选项卡中的大纲,层次结构和搜索结果视图。第二列是代码,比其他两列宽约2.5倍。 (由于我的办公室里每个人都有宽屏显示器,我们已经标准化了100个字符而不是80个。)第三列的调试视图位于顶部,有点小;下面的选项卡中的变量,表达式和JUnit视图占据了大部分垂直空间;以及下面的一个小断点视图。我的辅助监视器有两个被撕下的窗口:控制台占据了大部分屏幕,在它下面我有一个较小的窗口,包含选项卡中的问题和历史记录视图。
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.
我唯一的抱怨是当我从家中的单显示器设置远程桌面时:辅助显示器上的两个窗口移动到主显示器。我有一个“单屏幕”视角,我在这个场景中使用它来纠正这个问题,但是当我重新开始工作并切换到双监视器时,我必须手动将窗口移回另一个监视器。我希望Eclipse会把它们留在那里,但我看不出有任何方法可以做到这一点。
#5
2
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.
我的主监视器上有Package Explorer和Code,辅助监视器上有Console。我通过右键单击控制台选项卡并选择移动..然后选择查看来执行此操作。这样我就可以拖放控制台窗口并调整其大小。
Hope this helps!
希望这可以帮助!
#6
2
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
,
我通过将我的日食扩展到两个显示器来实现这一点,在Windows中你可以通过按住win键并点击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.
然后,选择我的左侧监视器作为主要监视器,我拖动日食窗口的右侧一直覆盖另一个屏幕。然后将eclipse分成三列。现在我的主显示器专用于代码编辑器和控制台,而封装浏览器则是另一个!如果您的代码有一个完整的监视器,那么使用cntrl + {并使用第二个垂直列查看同一个文件,或者将另一个文件的选项卡拖到屏幕一侧以同时查看这两个文件总是有帮助的。
Finally I just saved my work from window > save Perspective As
I can switch between my normal
and dual monitor
perspective whenever I'm not in the office
每当我不在办公室时,我都可以在正常和双监视器之间切换
#7
1
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.
我已经减少了(但没有消除)对包浏览器的需求总是通过在eclipse中使用Ctrl + Shift + R来显示,这会弹出一个像你一样的过滤器类型窗口,它可以在文件之间切换你记得的名字简单,以及接受通配符,以便您轻松找到您部分记住名称的文件。
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.
我在我的主屏幕上保留了源代码并在我的辅助屏幕上概述了任务和LogCat(android),如果我发现我正在阅读大量的网页内容,我通过synergy作为一个独立的第三屏幕启动我的笔记本电脑,它不是理想的但是它作品。
#1
264
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:
在Eclipse Helios(目前是3.6.2)中,我发现使用另一个窗口在不同的屏幕中显示多个文档非常有用。在主菜单中,转到:
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.
PS:如果要在关闭Eclipse时保持两个窗口,请不要逐个关闭它们。而是去:文件>退出。
#2
12
I use Ultramon to spread my Eclipse across two monitors.
我使用Ultramon将Eclipse传播到两台显示器上。
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.
我的左侧专门用于代码,右侧用于Project Explorer,Search,Console,Ant和Outline视图。
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).
这样,当我在任务栏或alt-tab中单击它时,我会专注于所有Eclipse的东西。我还可以在右侧监视器上覆盖另一个窗口(通常是我的浏览器或跟踪查看器)。如果我想同时编码和读取一些引用,我使用SemTop来固定叠加的窗口(这是快捷键派上用场的地方)。
So I can look at code and * at the same time ;)
所以我可以同时查看代码和*;)
#3
4
I split the eclipse environment over two monitors (both running at 1600*1200)
我将eclipse环境分为两个监视器(均以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
在第二台显示器上,我有Junit窗口,Problems,Console和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 .
我从来没有使用过Alt-Shift-Q快捷方式,但我发现当我专注于主编码窗口时,运行junit的Alt-Shift-X,T快捷键工作正常。
Possibly have the package explorer on the same monitor as the coding window?
可能在与浏览器编码窗口相同的监视器上安装了包浏览器吗?
#4
2
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.
我有一个宽屏主显示器和一个非宽屏辅助显示器。我的主监视器上的布局分为三列:第1列包含上半部分的包浏览器以及下半部分选项卡中的大纲,层次结构和搜索结果视图。第二列是代码,比其他两列宽约2.5倍。 (由于我的办公室里每个人都有宽屏显示器,我们已经标准化了100个字符而不是80个。)第三列的调试视图位于顶部,有点小;下面的选项卡中的变量,表达式和JUnit视图占据了大部分垂直空间;以及下面的一个小断点视图。我的辅助监视器有两个被撕下的窗口:控制台占据了大部分屏幕,在它下面我有一个较小的窗口,包含选项卡中的问题和历史记录视图。
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.
我唯一的抱怨是当我从家中的单显示器设置远程桌面时:辅助显示器上的两个窗口移动到主显示器。我有一个“单屏幕”视角,我在这个场景中使用它来纠正这个问题,但是当我重新开始工作并切换到双监视器时,我必须手动将窗口移回另一个监视器。我希望Eclipse会把它们留在那里,但我看不出有任何方法可以做到这一点。
#5
2
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.
我的主监视器上有Package Explorer和Code,辅助监视器上有Console。我通过右键单击控制台选项卡并选择移动..然后选择查看来执行此操作。这样我就可以拖放控制台窗口并调整其大小。
Hope this helps!
希望这可以帮助!
#6
2
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
,
我通过将我的日食扩展到两个显示器来实现这一点,在Windows中你可以通过按住win键并点击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.
然后,选择我的左侧监视器作为主要监视器,我拖动日食窗口的右侧一直覆盖另一个屏幕。然后将eclipse分成三列。现在我的主显示器专用于代码编辑器和控制台,而封装浏览器则是另一个!如果您的代码有一个完整的监视器,那么使用cntrl + {并使用第二个垂直列查看同一个文件,或者将另一个文件的选项卡拖到屏幕一侧以同时查看这两个文件总是有帮助的。
Finally I just saved my work from window > save Perspective As
I can switch between my normal
and dual monitor
perspective whenever I'm not in the office
每当我不在办公室时,我都可以在正常和双监视器之间切换
#7
1
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.
我已经减少了(但没有消除)对包浏览器的需求总是通过在eclipse中使用Ctrl + Shift + R来显示,这会弹出一个像你一样的过滤器类型窗口,它可以在文件之间切换你记得的名字简单,以及接受通配符,以便您轻松找到您部分记住名称的文件。
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.
我在我的主屏幕上保留了源代码并在我的辅助屏幕上概述了任务和LogCat(android),如果我发现我正在阅读大量的网页内容,我通过synergy作为一个独立的第三屏幕启动我的笔记本电脑,它不是理想的但是它作品。