Recently I have got a new 22" monitor. Finally it's possible to keep all needed windows in Eclipse open while having the main editor window wide enough to display all 120 columns. Problem now is when I wide up or narrow down windows on the left or right side of the editor. Editor's width narrows down or wides up. I'd like to set its width fixed to some value and let the other windows 'breathe' in width.
Take a look at the illustration.
You should rather use detached views, that way your main editor is not affected by the other windows resize operations.
(source: eclipse.org)
Either that, or use fast views, which minimises the views down to an icon that can be conveniently popped up when you need to use them. This is especially handy for things like the JUnit test view, as suggested by the JUnit Eclipse documentation
http://help.eclipse.org/help32/topic/org.eclipse.jdt.doc.user/gettingStarted/qs-junit.htm
Related
I have some users that wish to set the size of an EditorPart in an Eclipse RCP app to a specific dimension (in pixels).
This is so that a screenshot of the editor contents exactly matches the PowerPoint slide they want to paste it into, which will guarantee zero pixelation.
I know it's possible to manually change the size of an Eclipse EditorPart, but can't find a programmatic way.
Can anyone give me any pointers?
While it won't solve my specific scenario, I have found an alternate strategy.
If an EditorPart is dragged out of the main Eclipse Window, so it's floating, then it is possible to set the size of the Shell that contains this floating pane.
The size of the shell just needs to be adjusted to allow for the decorations/trimming around the editor within it.
More details here: Setting size of inner region of Java SWT shell window
I like to keep as much of my Eclipse screen as possible for code. So I try to disable or turn off as many of the extra bars and such as possible. The area at the very bottom of the Eclipse screen is my next target but I don't know what it's called.
Can anyone tell me the name of this area and how to reclaim it? Thanks.
Here is an eclipse plug-in which hides/shows Menu bar and/or Status bar.
User can change these options in Windows > Preferences > Full Screen
But Hiding Status bar was NOT working on my machine
Ubuntu 13.10 Eclipse Version: Kepler Release Build id: 20130614-0229
This are is called the Status Line but it composed of a number of different components such as the progress indicator, editor current line and row, and the message area.
I am not aware of anything that will turn it all off.
I can see why you're eager to close that. It looks like your screen resolution is extremely low. Are you using a netbook perhaps?
Here's the problem though: On your screen, that part looks quite large and looks empty but it's because of your screen size. I'm fairly certain it doesn't have a name and having scoured the options, I'm convinced it can't be removed. On my screen, that section contains only a few words: "Writable | Smart Insert | 423:32"
Essentially, the words that show up there are a guide for your current editing mode and location in the file. I don't think it can be turned off. If you hit Ctrl + M, it will hide almost everything possible on maximize your editor view.
On my screen, that little bar is very small. That is of course because I have a high screen resolution. If possible, try increasing the resolution on your screen to something more appropriate. You'll find you have a lot more space to code, and that little bar will become much smaller.
In eclipse oxygen there is option to hide status bar:
Windows->Appearance->Hide_status_bar
My laptop and desktop monitors are wider than they are tall. When I'm looking at code, from half to 2/3 of the screen is empty with no code. This is silly.
I'd like to take a look at how to extend eclipse's editor to show data in multiple columns.
If anyone has any idea regarding what api I should lookup or any other resources, please point them out.
Thanks
I don't know if one viewer can display code in multiple columns, but you can split a view for the same file (Window -> New editor).
That way, you can see more of your code, each tab using that horizontal space you have so much on your screen.
For different files, you can put different editor side-to-side:
That will give:
In Eclipse 2018-12 (4.10) there is the "Window/Editor/Toggle split editor vertical" menu option which does exactly what you need. There is also Toggle split editor horizontal option there.
Normally Eclipse 'File Compare' compares files in vertical panels like:
Is there a way I can compare them horizontally like:
Compare using Horizontal Panel http://www.sqlservertool.com/images/ad_hex_diff_small.gif
Its too tiring to scroll everytime to see what was changed!!
Thx
Looking at the code of org.eclipse.comparator.internal.CompareEditor (which is the name of the class of the editor illustrated in your question), I do not see any indication of a different "orientation" (horizontal layout vs. vertical layout)
So, no. I do not think the current implementation allows you to compare files with a different layout.
I'm afraid VonC is right that the current implementation doesn't support changing the layout, but there is a bug open for it so you can either provide a patch or ping guys from Eclipse Workspace Team (including me :) and ask them to fix it for you ;)
I guess Robert was referring to Select Next/Previous Change/Difference buttons (see section Toolbar in Eclipse Help).
If your problem is scrolling, use the toolbar buttons to navigate between changes.
One way to overcome your problem is to Maximize editor window during file compare, and then Restore it after compares are done. I wish Eclipse did it by default.
As to the question of orientation. I think it's more readable when you compare revisions side-by-side. That's probably why Eclipse authors did not give us an option of horizontal layout. What they could have given us were a line diff at the current cursor position.
I'm using PDT with Eclipse and the Content Assist tooltips (e.g. for class method descriptions) are too small to be useful. Usually, only the first few words are visible. Is there a preference to increase the sizes of these? I have plenty of screen real estate, so I want to make them much larger.
Thanks
Edit: Maybe I'm using the wrong terminology -- I'm talking about the PHPDoc-style tooltips. Here's a screenshot:
Edit 2: Screenshot no longer available.
You should be able to simply grab the pop-up at the lower right corner and drag it larger. It will keep that size the next time it opens (at least it does for me in Eclipse 3.5 and 3.6).