I am using eclipse juno, I need to know if there is any keyboard shortcut for pasting some text from the copied clipboard history, I mean in JDeveloper there is a combination of keys CTRL + SHIFT + V this will bring a popup showing all the earlier copied texts, then the user selects whatever text he wants to paste, is there anything similar in eclipse?
Yes as #MatF said you can use MoreClipboard plugin. -1 to PDE Tools Cliboard View as it not brings up popup window to select old entries.
Also moreclipboard has the same short cut key as in Jdeveloper i.e CTRL + SHIFT + V
Quick links:
Quick Guide
Donwload Link
Update site
Related
I am using win7 and eclipse with Aptana plugin for trying some examples on Ruby. But I can't figure out how to add Alt + Space as a shortcut in Eclipse (I want to add it to complete already defined variables). The issue is that when I try to add that combination (Eclipse reads the keys clicked) and the menu window appears in the top left -> it is shown when you hit the Alt key.
Does anyone has a hint how to add the shortcut?
I found similar post, but don't know how and where to add the code there.
Autohotkey, remap Left Alt + Space to Control + Escape
In Eclipse, the code-completion shortcut is Ctrl+Space (it's called Content Assist in Eclipse lingo). Is that what you're looking for?
I'm pretty sure it can be mapped to a different keyboard combination. Open Preferences and navigate to General > Keys and then search for the Content Assist command to re-map.
Eclipse has an MDI structure (Multi Document Interface), so the search panel, the package explorer and the code editor can all be open in one window, but I haven't found a keyboard shortcut for switching between these panels. For example, after I search the code-base, I would love to have a quick shortcut for going back to the code editor.
If I understand your question correct, you are probably looking for Ctrl + F7 and Ctrl + Shift + F7. Other navigational shortcuts can be found in the menu: Window > Navigation.
Not an universal shortcut for going to any panel, but:
Ctrl+Shift+E
allows you to go back to any Editor (although it's still a little heavyweight for quick editor navigation).
And if you want to switch between perspectives its: Crtl + F8 and Ctrl + Shift + F8. You can go to Help > Key Assist... for a full list of shortcuts (this list will change depending on the active editor etc.).
There are two ways to do it.
One is how #VonC did it, in an earlier reply; using CTRL+SHIFT+E which opens a box containing all the panes with their paths.
The other one is to simply use CTRL+E, which will open a pop-up just over your cursor containing the list of panes open. Parse using arrows and ENTER
In NetBeans, how can I make it so that every time I save a file it gets committed to Subversion?
This sounds like a recipe for disaster!
That being said . . .
Go to Tools : Options in the menu.
Go to the Keymap tab.
Type commit in the Search box.
Locate the row for "Commit..." / "Subversion".
Double-click in its Shortcut cell.
Press the desired shortcut (e.g. Ctrl + Alt + Shift + S).
Click the OK button.
As committing a file automatically saves it first, you could use Ctrl + S as the shortcut if you wish.
Note that this also works when you select one or more files in the Projects pane. Thanks for asking the question as I get really sick of navigating through the popup menus all the time. :)
I'm using Eclipse 3.6.1 on Mac Os.
In an earlier Version of Eclipse I hat a lot of nice refactoring shortcuts like:
Command + Alt + M extract method
Command + Alt + I inline
Lately if I press Command + Alt + M; I insert µ instead of extracting a method and Command + Alt + I; inserts ^. The shortcuts are also not shown in the refactoring menu anymore.
Those missing shortcuts really slow me down.
I think the shortcuts are not shown/active because the native Mac OS shortcuts take precedence.
How can I re enable those shortcuts?
UPDATE
I just installed Eclipse Indigo and the Shortcuts are missing again. I use them all the time and replacing code with µ all the time is very very annoying.
Has anybody encountered this problem as well?
In general, you can use the Command + Shift + L shortcut in any given editor to see a list of available keyboard shortcut... and a second Command + Shift + L will display a popup with all possible shortcuts in your Eclipse (can be filtered for "extract method" for example).
That would at least allow you to see the current shortcut for any given action.
If you go in Preferences... -> General -> Keys, search for the description of the action that doesn't work in the list. Once selected, look whether there's a conflict (in the conflict list below). There's a chance there's a conflicting shortcut set up for another action (possibly by another plugin).
Once you've identified the other conflicting action, look for it in the list: you can then either unbind it completely or change it scope (in the When drop-down list) to restrict it to a particular plugin for example.
Do you use Aptana plugin, or any other plugins? In my case I was able to bring shortcuts back by uninstalling Aptana.
I just did a clean install of the 64bit version of Eclipse and the shortcuts reappeared.
If I've got my Eclipse windows split vertically, is there any keyboard shortcut to move to the logical left/right editor?
For example, in the image blow, the right editor is selected, and I want to move to the left window:
For those of you who know Vim, I am trying to recreate c-w h and c-w l.
The answer from Csaba_H is right : there is no keyboard shortcut to switch from one editor area to the next. The most you can do through keyboard shortcuts is to switch to "another editor", whatever its area is (left, right, top, bottom... whatever you tiled the area into :p) through the usual shortcuts :
next editor : ctrl + F6
previous editor : ctrl + shift + F6
quick switch editor : ctrl + E
I'll only mention that you can also take a look yourself to all available shortcuts in your Eclipse if you go to Window > preferences and go into the section General > Keys (a shortcut to get there is to use ctrl + shift + L twice).
Personally I did not find such shortcut or option. However, there are some possibilities for switching editors from the keyboard (Ctrl + F6 and Ctrl + Shift + E as general ones, or my favourite "all-in-one" Ctrl + 3 :) ).
Also, if you work mostly two files 'for a long time' (one in left side and one on right side), you can also use the History operations (Alt + ←, Alt + →) for switching editors.
Eclipse allows for multiple editors to be open at any time, and those editors may be arranged as tabs (default behaviour) or split vertically or horizontally. The information above about available shortcut options is correct and provides the correct functionality in the case of two (only) open editors. Where there are greater than two open editors the shortcuts allow navigation to the 'next' or 'previous' editor. There is no concept of the logical left/right or top/bottom editor.
Just found it!
Ctrl + Page Up and Ctrl + Page Down.
It's just Ctrl + Tab and Ctrl + Shift + Tab on my windows! try it.
In all my eclipse usage I've never noticed such a shortcut and I would not expect one to exist. I skimmed though the link provided by Anthony and checked my own copy of eclipse, but none of it looked like what you're looking for.
You can also look through them yourself by going to: Window > Preferences > General > Keys
I'm not sure if there is something in vanilla Eclipse, but you might want to check out "Emacs+" in the Eclipse Marketplace.
From http://www.mulgasoft.com/ :
"Other Window (Ctrl-X O): Navigate to the previous editor window"
It's not perfect, but it will achieve something close to what you want.
You can also split the window with shortcuts as well.
Quick Access Ctrl+3 has been very useful in Eclipse.
Otherwise, I know of two external programs that navigate by dividing the screen into smaller chunks, using only your keyboard.
If you're on Windows, you can use Mouser, which is coded in Autohotkey and based on keynav. If you find the source, remapping the keys is fairly straightforward.
If you're on Linux, keynav is your friend.
sudo apt-get install keynav
You'll have to change the configuration file to use arrow keys. (The default uses vim-like navigation.)
For focusing panels in Eclipse, I average between two-to-three keystrokes.