shift keys stop Eclipse incremental search - eclipse

There's the weirdest things with my new netbook.
I start increment search in Eclipse with ctrl-j, any press on one of the 2 shift keys with a combination of another keys interrupts the search and insert the character, which makes searching words with a combination of lower case/upper characters case very difficult (I can still use CapsLock)
Using Eclipse 3.8.1 under ubuntu 14.04

shift-left+shift-right key combination shortcut for keyboard layout switching was somehow interfering with Eclipse.

Related

Find Replace Hotkeys In Eclipse

Anyone know of a set of hotkeys that can perform a find/replace in eclipse?
Currently the flow looks like:
Select line or lines
Ctrl+F
Type phrase
TAB
Type replacement
And then I have to do the unthinkable and grab my mouse, choose selected lines and then click on replace. It doesn't sound like much, but it seriously disrupts my flow when i'm doing a bunch of word replacement. I wish their was a way to choose "selected lines only" and "replace all" using keystrokes only besides having to hit TAB 12 times. Or maybe i'm using the wrong tool within eclipse for this sort of thing...
Using Ubuntu and Eclipse Luna 4.4.2
Using Find/Replace for refactoring seems like a smell. You should instead use the refactoring operations
Rename : Alt + Shift + R
Extract constant : Alt + Shift + K
Extract method : Alt + Shift + M
Extract variable: Alt + Shift + L
Inline : Alt + Shift + I
Change method signature : Alt + Shift +C
Introduce indirection
Introduce parameter object
and so on, which all do a kind of replacement by themself, but always work on the syntax tree and not on the text. However, the refactoring support depends much on the language used in the project, and while Java has really good support in Eclipse, this might not be the case for other languages.
I had been trying for this for a long time and ended up in multiple pages without help. I figured it out myself after playing around
For the first time, you need to do the below
Ctrl + F - to open the search box on the top right corner of the IDE (as in image)
You might have to drill down (using the small icon on the left of the search box) to see the replace text
This setup stays from now onwards.
Now you can simply use
Ctrl + F, Tab, Alt+Shift+Enter combinations to do the search and replace
I use eclipse 2020-03 on windows. I am pretty sure many of the previous releases had the same functionality on linux as well.
Screenshot of the feature:
I found thath ctrl+K works in my ide (Neon.3 Release (4.6.3) on windows)
First use Ctrl+f to set a term for search, then use ctrl+K to move to next.
If you need to replace something, keep in the clipboard the text and use ctrl+K, ctrl+v.

Eclipse switches # and "

Once every few hours this happens - when I press Shift-2 to get a ", and # appears. When I press Shift-' it puts in a " (although this only appears after pushing another key as well). I am on an English (as opposed to American) keyboard. I must be pressing some sort of shortcut key combination, but I don't know what it is. It goes away when I restart Eclipse. I can live with this problem, but I would rather not!
Anyone know what the shortcut I'm accidentally using is, so I can avoid it/correct it in future?
Edit: Windows 7
If you have several language layouts on the computer you are probably switching on them.
What OS are you using?
If Windows 7 the shortcut is ctrl + shift
http://www.tomshardware.com/forum/10444-63-shortcut-keys-keyboard-language-changing
If you're using windows XP i think the shortcut was alt + shift
If you are using Windows, pressing Ctrl + Shift changes keyboard layouts. In your case it seems to Switch to the US layout which has the # on Shift + 2

PyDev mark occurrences not working with vrapper

This is a long shot, but I thought I would give a try.
PyDev has Mark Occurrences (just like CDT and others) and the feature works fine when I place the cursor over a word by using the standard arrow keys or the mouse. However, I am using vrapper (a vi plugin for Eclipse) and it uses the standard vi home row keys for cursor movement (hjkl). Mark Occurrences is not triggered by vi movement keys.
Working:
PyDev with regular arrow keys
CDT and PDE with regular arrow keys and vi keys (I haven't tested other environments)
Not working:
PyDev with vi keys.
So the question is -- is there a way to trigger PyDev to mark occurrences even with non-arrow keys?
Edit: clarifying the title

Eclipse IDE: 3rd level keyboard symbol not showing up

I am having a problem when trying to print 3rd level keyboard symbols in Eclipse IDE with AltGr + [1-9] buttons. Specifically I am using Lithuanian keyboard layout and whenever I press AltGr + number I get both 1st level and 3rd level symbols printed. Eg., if I hit AltGr + 1, I get the following two symbols printed:
ą1
('ą' is the 1st level symbol, while '1' is the 3rd level one)
For AltGr + 2 it's as follows:
č2
('č' is the 1st level symbol, while '2' is the 3rd level one)
and etc
I have tried searching if there were AltGr + number or Ctrl + Alt + number key shortucts but could not find any.
I have tested some other keyboard layouts and found that on other keyboards the 3rd level works as usual and prints only one symbol. However, I would also like to note that with the Lithuanian layout AltGr + E works completely fine and prints a single € symbol.
It is also worth noting that I have encountered the same problem on different machines running Windows 7, Windows XP and Red Hat Linux. This may suggest that a solution must be found inside eclipse. However, I have failed to do that and I would appreciate if somebody could help me to solve this problem.
I think you should file a bug with Eclipse.
Alternatively, you could try to debug Eclipse yourself. The SWT library is the gateway to low-level methods that interface with the OS and handle keypresses and the like. If you looked at org.eclipse.swt.Control, you could find places to put breakpoints.
To debug Eclipse, you need the Eclipse SDK (which comes bundled with the RCP/RAP edition, i.e. http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/indigor). Then you create an Eclipse Application launch target and launch it in debug mode.
But file a bug!

Using Eclipse on the Mac and the Alt Key in mappings

One thing that has always frustrated me with using Eclipse on the Mac is the keyboard mappings that require the Alt or Option key. I'm used to using Eclipse in a Linux environment, and using that key in the mappings isn't an issue. However, on the Mac its purpose is for entering special characters.
Is there any way to switch this so that Eclipse's default key mappings work correctly?
I use commands like Alt + Shift + C, Alt + Shift + T, and a few others quite frequently, and not being able to slows me down. I also would like to use what I'm used to so that switching environments is a little more transparent.
Is this what you're looking for?
To modify just go to "Binding:" and then press the hotkeys