Key binding shows shortcut list pop up even when only one option in Eclipse Juno - eclipse

I installed Eclipse Juno and key binding does not seems to be working well. I mean, I did add a couple of key bindings.
Ctrl+B Build in Windows
Shift+Ctrl+B Build All in Windows
Shift+Alt+B Toggle Breakpoint in Debugging
But when I press Ctrl+B the typical pop up with both Build All and Build appears.
When swapping Build and Build All and pressing Ctrl+B does show the pop up with only one option (Build All).
Where are those bindings stored, so I can overwrite them directly?

Where does Eclipse store keyboard bindings?
You'll find where your bindings are stored at the above link. If you browse through the file indicated you should recognize your keybindings. What I found were a bunch of duplicate entries. Back up your file, so you don't screw yourself, and carefully edit out the duplicates--observe the pattern of the working keybindings. After this, I found that from the key editor inside eclipse it was still showing bindings that shouldn't be there (probably some type of caching mechanism). I removed these bindings through the editor, restarted, problem solved.

I have resolved the problem creating a new workspace and importing the projects all over again.
Not a nice solution but worked. FINALLY.

Related

How to restore an accidentally deleted keyboard shortcut from a VSCode extension?

I was configuring PostgreSQL VSCode extension and when customizing some keyboards shortcuts, I excluded an essencial functionality of querying database through F5. It seems to be accessible only through this shortcut, and in settings.json I didn't see anything regarding to it.
(It's supposed to show F5 shortcut in first result)
Not sure if it is something related to this extension specifically, but even if I reinstalled it and reloaded VSCode, the mentioned shortcut won't show up. I think my configuration is cached somewhere (I wonder where). How can I restore it?
If it was a key binding than there has to be a command that has the functionality. Most likely that command can also be accessed from the Command Palette. Or you can find the commands exported by the extension on the Feature Contributions tab of the extensions page (Extension Bar)
If the binding is defined in the extension you can't loose/delete it, than probably you have defined another command to F5.
View/Delete/Save your keybinding.json or use the key binding debugging

Eclipse 4.12 comment out multiple lines in .gradle file with hotkey

Just installed a new version of Eclipse ("Eclipse IDE for Enterprise Java Developers", 2019-06 / 4.12.0) and I find that although the hotkeys Ctrl-Shift-C and Ctrl-/ work to toggle comments for blocks of code in .java files, as expected, this doesn't seem to work for my .gradle files for some unaccountable reason.
OS is Linux Mint 18.3.
Anyone know how one goes about tweaking this sort of functionality in Eclipse (i.e. so that this toggling also works in .gradle files)?
NB I also find that going Ctrl-Shift-L twice does NOT open up (as previously) the "preference page" (i.e. where you can edit key bindings). I hope they haven't messed up things here.
However you can still edit these bindings by going Windows --> Preferences --> General --> Keys. This shows no fewer than 20 (!) "Toggle Comment" bindings, with Ctrl+7, Shift+Ctrl+C and Ctrl+/. The "When" column includes things like "Editing Java Source" but also "Editing in Structured Text Editors", etc..
So I tried to add my own key binding with "When" at "Editing Text". No joy. Anyone at all familiar with this aspect of Eclipse functionality?
greg-449 has the right answer.
Therefore what you have to do is install the correct Groovy editor.
I in fact gave the answer about how to do this here in early 2018.
It has changed ever so slightly now (for Eclipse "2019-06"/4.12), as described in my update there.
When you install that Eclipse-Groovy editor it automatically applies the various normal editing functionality not only to .groovy files but also (out of the box) to .gradle files: syntax highlighting, toggling of comments, etc.
I did not think this worked and was about to uninstall it, then I tried selecting Open with > Groovy editor, Thought I would share a little more detail, thanks!

Eclipse cant get key input on Ubuntu

I'm using Ubuntu 12.10 and Eclipse Juno. This happens frequently: When I put focus in eclipse editor window, I can input few words in editor at the beginning, and then undo several times, Suddenly it happened that, I can't input any word in eclipse, that's strange problem.
Then, I change to other program and input anything, After that, back to eclipse it can accept my key again. It get me so frustrate.
Any one knows this problem? I am using desktop pc, memory is 1G.
This may help;
I guess you have lots of projects in your workspace and Project->Build Automatically option was enabled by default. Disable this and use Project-Build All or Project-Build Project commands before you start debugging your application OR If possible create two workspace and move some of your projects to other workspace. Note that you can open two instances of Eclipse on two different workspaces simultaneously.
Increase heap space for Eclipse.
Its also possible that you installed many plug-ins in Eclipse. You can disable unnecessary plug-ins to load on eclipse start up as shown below
Edit
Two more options.
1. Disable all options in **Highlighted** category of preferences. Restart eclipse.
2. Delete **.metadata** in your workspace and restart eclipse. Note!!!. All you preferences will be lost!!!
I found this problem; It is scim input method conflict with XIM(X Input Method) method.
Solution 1,
just right click in eclipse workspace -> select Input Methods -> SCIM input methods, that's OK. But, Every time you should do it while opening another file.
Solution 2, make scim as default system input methods.
Edit /etc/X11/xinit/xinput.d/scim as below:
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=yes
#GTK_IM_MODULE=xim
#QT_IM_MODULE=xim
GTK_IM_MODULE=scim
QT_IM_MODULE=scim
also, add x95input file to /etc/X11/Xsession.d/95xinput
/usr/bin/scim -d
XMODIFIERS="#im=SCIM"
export XMODIFIERS
export GTK_IM_MODULE=scim
Hope this can help others.
I found it.
I googled and found the answer
The answer is:
Right click in Editor area InputMethods-Scim
*Editor area is where you write code

How to avoid Eclipse blocking keyboard shortcuts

I installed a plugin that allowed me to create UML diagram from my code. Everything was working fine until I found that now all keyboard shortcuts (like CTRL-X, CTRL-Z, CTRL-SPACE, CTRL-SHIFT-F,..) except for CTRL-C and CTRL-V now require a click on a small square that appear on the bottom right corner. And this is required every single time.
This are few examples of the square that appears:
If I click on the message or press Enter I can access the functionality. Does anyone know how to get rid of this annoying thing or at least reset Eclipse related configurations?
Thanks in advance
EDIT:
I obviously tried uninstalling the plugin but nothing changed.
Try Window / Reset Perspective as the duplicate shortcuts may be still in the perspective.
Also try restart specifying -clean option to rebuild the workspace metadata.
The pop-ups you are seeing are the "keybinding conflict" popups. These are common when you have two different plugins defining the same keybinding and looks like these. Still in your case there's only one option to choose from and it definitely looks like a bug.
In the Eclipse bugtracker database there are two issues that are looking like the one you have: #377048 and #374942.
These issues are marked as fixed in 4.2-I20120410-0633. So if you are having Eclipse 4.2 without any service releases installed, you would probably have this. The solution is - to use a newer Eclipse version. Eclipse 4.3.1 is available to download since today, and it should contain a lot of other fixes since 4.2. So I encourage you to install it.
The other solution could be to try playing with keybinding dialog (Window->Preferences->General->Keys) and trying to unbind and re-bind the commands that you are having issues with.

How can I remove JavaBeans from eclipse?

When I click the run/debug button on eclipse it tries to activate it using javaBeans.
The problem that I deleted JavaBeans. Another thing is when I choose run/debug As... I have only the option of javaBeans despite the fact that I have regular java and android installed on my computer.
How can I fix it? In other words how can I get rid of this javaBeans?
[SOLVED]
For all those who stumble upon this thread. You can find the solution here
I am not sure if I understand your problem, but instead of pressing the "run" button, press the little drop down triangle next to it. This will bring up the run configurations. From here you can delete and edit existing configurations (such as your java beans) one, and create new ones (using different configurations).
For all those who stumble upon this thread. You can find the solution here