I recently started using Eclipse Juno (4.2) on Fedora Linux. In prior versions of eclipse I could simply click and drag a source file name to the edge of the screen and split my window with the mouse. Now when I click+drag Eclipse brings up some green outlines and I can't figure out how to accept the change without hitting Enter on the keyboard. Does anyone know if its possible to bring back the prior behavior where the mouse can do everything?
Thanks!
Edit: Sounds like there may be a bug in Eclipse, at least when using Fedora 17 64-bit.
Now you have a green rectangle that represent the area that will be occupied when you release the mouse button, however the procedure still the same you have to drag the editor and drop the editor in the desired area ...
Just move the mouse with the left button clicked and you will notice that the green rectangles change and when you have a rectangle with double borders you can release the mouse button ...
Related
there are a lot of questions about content assist in here, but nothing that fits to my problem. I downloaded eclipse luna and I am missing a dotted selection box, around my current selection when I hit ctrl + space. I can use my arrow keys as usual to navigate up and down to choose a different suggestion. The dotted selection box appears (or selection background) if I press tab after pressing ctrl + space.
Hopefully this is not a feature of the new luna release, because this is driving my crazy like hell...
Are there any fixes for this? I don't want to switch back to previous release, because there are a LOT of troubles with the GUI elements in open suse 12.3 / kde.
thx
I just installed the current eclipse application and noticed two strange things in the Editor.
When I move to the scrollbar of the Editor it shows me a mouse wheel icon.
On the bottom right it shows me 2 arrow icons.
How do I disable those?
This is not added by Eclipse. Likely a feature of your mouse driver. Look for relevant settings in the mouse control panel.
Recently switched from Linux to Windows for development in Eclipse Indigo SR1. In Linux, if I Ctrl-Space'd to open a Content Assist window, I could immediately start scrolling with the mouse wheel (with the cursor over the Content Assist window of course).
Now, in Windows 7, if I try to scroll in the same way the Content Assist window goes away, and whatever editor I have open is scrolled instead.
If I first press Tab to give focus to the Content Assist window, the mouse wheel scrolling works as expected, but I'd much rather it behaved as it did for me on Linux, rather than retrain myself to press Tab every time.
Is there a way to make the mouse work this way with Eclipse?
Found an answer that appears to work. It's a little dated but seems to still do the trick.
http://divby0.blogspot.com/2007/04/focus-follows-mouse.html
Dropped this jar in the eclipse plugins folder and restarted. At first I thought it didn't work, but later I noticed there is a little X button added to your toolbar that you need to toggle. Scrolling seems to work properly now.
Window 7.
In the Eclipse IDE, when I PageUp and PageDown, it jumps to the next bit of code without any scroll effect, which discombobulates me. How can I enable scrolling? Is this called smooth scrolling?
It's not just Eclipse.
When you press the Page Up button or the Page Down button in Word, Notepad, or just about any other Windows application, you go to the previous or next section, respectively.
This has been standard Windows behavior since at least Windows XP.
Edited to add:
If you have a mouse wheel, you can get an effect that Microsoft calls smooth scrolling. By rotating the mouse wheel, you can move the Eclipse editor up or down a few lines at a time.
But I don't think I've ever seen the same effect with the Page Up and Page Down buttons.
Try this Eclipse plugin for smooth scrolling. Use middle mouse button, like when you smooth scrolling on internet browser.
I've been trying to find a way to scroll the text horizontally with my scrollwheel in Eclipse, similar to the way you can do it in Textpad. In Textpad if you hold ctrl while you scroll vertically it will scroll horizontally. Does anybody know if there is a configurable setting somewhere in Eclipse that will allow this? I've looked all over the "keys" setting page without being able to find it, and Google/Stack Overflow searches haven't turned anything up for me.
Thanks.
I guess this depends more on your OS than on Eclipse. For instance on Mac OS it's Shift + Scrolling.
#Daniel Sokolowski's answer was almost working. I have been using X-Mouse Button Control for over a year now and didn't know how to get the Horizontal Scrolling to work on certain programs (like Eclipse and Chrome) until I read Sokolowski's answer which pointed me in the right direction.
For the sake of brevity, and not to duplicate what has already been written clearly by Sokolowski, follow his directions, and in addition do the following:
Add Eclipse to your Applications list in X-Mouse by clicking Add and finding javaw.exe in the "Choose Application" popup and clicking OK.
Now click on the "Eclipse" profile and choose the "Scrolling & Navigation" tab
Under the "Advanced Window Scrolling" choose Method 1(SCROLL Msg) option for Scroll Method
Click Apply
If you correctly followed Sokolowski's and my instructions together you should be able to press Shift while scrolling up or down to trigger a horizontal scroll.
On a Windows machine this worked for me:
Download X-Mouse Button Control
In the main window go to 'Layer 2' and change 'Wheel Up' and 'Wheel Down' to 'Scroll Windows Right' and 'Scroll Window Left'
Go into the 'Settings > Modifier Keys Tab' and select 'Shift' for the 'Activate Layer 2' setting.
Now in whatever active window, including Eclipse pressing shift and then scrolling up and down will scroll horizontally.
Update: I have been using this approach for a few days now and noticed that not all windows are horizontal scroll enabled, for example 'Package Explorer' is not but 'Navigator' is - this appears to be a limitation of Eclipse IDE rather than this approach. Please take a moment and upvote this Eclipse Bug #201984
You have a plugin supposed (not tested) to support horizontal scrolling.
But without plugin, SWT does not support horizontal scrolling on Windows.
Its support is planed for 3.6 though. (since 3.6M2, actually -- September 18, 2009)
New event constants have been added for horizontal mouse wheels.
See SWT.MouseHorizontalWheel and SWT.MouseVerticalWheel.
For me the best way while using eclipse or for that matter any IDE, is to have a new line char at the end of screen. I feel that to use horizontal scrolling to view data becomes bit difficult while going back and forth and I would like all code to be visible to me always. If the code you are trying to view requires you to use horizontal scroll bar then try to format it by using Ctrl+Shift+F.
The bug has been fixed in the latest update of Eclipse.
In your Eclipse menu bar, simply:
1. Click Help>Check for Updates.. (and wait for the progress bar at the bottom to finish checking)
2. Install all updates.
Once Eclipse IDE gets restarted, you are now able to scroll horizontally.
(Save yourself from having to install additional mouse softwares to create new configurations. Phew, I'm so glad I figured this one out for myself)
Cheers!