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!
Related
I usually use Sublime text editor and gnome terminal to edit and run my programs. Due to educational purposes, I am using the IDE Dr. Racket.
I could not find an autocomplete feature to use while typing. I checked this out on google and at Dr. Racket's menu.
For instance, if I am calling a function already defined I would like to accelerate the process of typing the functions name.
I have tried using control + /, but it does not work as an autocomplete for variables and procedures already defined.
Edit
#Sylwester, look, I tried that with a previous defined function, named square. It did not work:
Linux and Windows
CTRL + /.
Mac OSX
Command + /
The last "key" might not be a button on its own and if that's so it needs to be the combination to make a /. eg. on my norwegian keyboard its
CTRL + SHIFT + 7 since SHIFT + 7 makes a /.
I have no idea where it gets it's matches from since I see it finds fold even when it is not called that in #lang racket. It does not seem to catch user procedures either.
This answer is based on information from a racket mailing list entry from 2011. It's not documented in DrRacket shotcuts page so it might not be officially supported.
On top of the default autocomplete, there are various other options:
The drcomplete package provides several autocomplete features,
The quickscript-extra package contains the dynamic-abbrev script (autocomplete based on the contents of the file) and complete-word script (completion based on a given dictionary),
The quickscript-competition-2020 package contains the fishy-completion script (lexical-based completion).
For the latter 2, you get scripts entries in the Scripts menu in DrRacket, plus default keybindings that can be changed by editing the scripts. (Also note that the other scripts installed at the same time can be deactivated from the Scripts|Manage|Disable scripts… menu.)
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.
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
As was asked previously, Eclipse has the nice "mark occurences" feature, which shows all occurences of the selected variable or method.
But I don't know any shortcut for jumping to the next/previous occurence in the editor.
The shortcut ctrl+k is not working, it solely works in conjunction with "incremental find" (ctrl+j).
I'm using Eclipse Indigo. Is there any shortcut or other solution?
Edit:
The answers and comments in the question linked above are now pretty exhaustive, I think.
It seems there is no all-in-one solution (at least for Java code editing):
I cant get Ctrl + (period) to work, at least in Java code where it finds the next problem. Even rebinding this to a different shortcut does not work.
Ctrl + K does text-based search only. If you want to find all occurrences of the variable i, it finds any letter i within any identifier and comment.
Renaming mode using Alt+Shift+R and then navigating through the occurrences using Tab and Shift+Tab comes close, but only works for identifiers you can actually rename for that source file. It does not work for library code (esp. JDK) for which no editable source is available.
Try Ctrl + , and Ctrl + .
Before that make sure you have checked Occurences in the small navigation dropdown:
You can change the key from Window -> Preferences -> keys:
It works for me.
You can find if your key bindings have changed by looking under Window -> Preferences -> General -> Keys and look for the command Find Next. You will see the binding in the column Binding and can also check if it's conflicting with something else in the list titled Conflicts: at bottom right corner of the dialog.
My coworker keeps insisting that I make the switch from IntelliJ to Eclipse. I'm considering relenting, mainly because the compile/deploy time it takes for my Android project seems to be considerably less in Eclipse than IntelliJ (I imagine Eclipse does some sort of incremental compilation, etc. that IntelliJ can't do for Android).
However, there are a few shortcuts that I feel are essential and I don't want to do without, and I'm wondering if anyone knows of a way to do them in Eclipse (perhaps add via a plugin?):
Ctrl-W (select word, and then expands selection to include statement,
block, method, class... this should work in XML and other types of code as well)
Ctrl-D (duplicate selection, if selection, or otherwise line)
Ctrl-Shift-V, paste from history (pops up a list of recently copied text)
Go to Symbol (searches through all methods, fields, etc in your project)
I'm sure there are a bunch of others I'll really miss, but these are the main ones I use all the time.
about the go to symbol thing
there are the following functionalities available
ctrl + shift + r - open resource
ctrl + shift + t - open type
ctrl + alt + g - find the selected text in workspace
ctrl + shift + g - find references in workplace (as selected by caret)
ctrl + o - quick outline, all methods in class
there is also a plugin calld instaSearch that you can easily install, it offers a complete project active search.
I believe IntelliJ is a much better IDEA, but you asked..
ctrl+w
Alt Shift Up Expand selection to enclosing element
ctrl+d
Ctrl Alt Arrow Duplicate line(s) up or down
ctrl+shift+v
Not that I have seen
ctrl+shift+a
No, and that is a truly amazing feature.