Eclipse: make ESC key focus on active code window - eclipse

In eclipse (version: 2020-06 (4.16.0)) I wonder if there is a way to map ESC key to focus on active code window.
I've seen this behaviour in NoSQLBooster and is really useful

Yes, to map Esc (in addition to the default of F12) to focus on the active editor, do the following:
Window > Preferences: General > Keys (or hit Ctrl+Shift+L twice)
Select the Active Editor command
Click the Copy Command button
Set the focus into the Binding field and hit Esc
Click the Apply and Close button

Related

How to edit/reassign Chrome Devtools keyboard shortcuts?

There's supposed to be an edit button for each shortcut in devtools. It was or still is an experimental flag to show the edit buttons. I am not seeing this option in the flags section. The information I found so far seems outdated or not applicable.
How does one edit the debugger shortcuts? In particular, I want to reassign the F8 button for resuming debugging to F5.
Enable "Enable keyboard shortcut editor" in the Experiments, using Cmd+Shift+P or Ctrl+Shift+P > Show Experiments> Reload DevTools.
Press Cmd+Shift+P or Ctrl+Shift+P to launch the Command Menu > Type "Shortcuts" > Press Enter.
Click the "Edit" icon next to the shortcut. Apply the shortcut and Save.
More info:
https://www.canidev.tools/set-keyboard-shortcuts/chrome

How can I prevent keyboard binding from syncing in VS Code?

I use VS Code in Mac and Windows. All the sudden VS Code is trying to sync my key binding between the two. Is there a way to stop that?
You can disable the syncing of keyboard shortcuts using the command palette:
Press Ctrl+Shift+P to open command palette.
Type and select > Settings Sync: Configure...
Untick the option named Keyboard shortcuts
Hit the OK button in the top right and you should be good to go.

VSCode: Disable mouse+ctrl interaction

I often double-click to select followed by ctrl+c to copy. I am finding in vscode that ctrl press with the mouse over a word can perform an action. In some cases it selects the whole line, and in others it jumps to the definition of what is underneath. Is there a way to turn this off?
Note that if you move the mouse cursor off the word then it appears the action is not performed.
You could click on Visual Studio code->Preferences->KeyBoard Shortcuts. Keyboard Shortcuts page opens up. You could change any of the keyboard short cuts, by click on edit icon on the left as shown below
You can change the behavior of these features or disable them altogether by going to Tools > Options > Text Editor.
https://devblogs.microsoft.com/cppblog/productivity-structure-visualizer-ctrl-click-to-go-to-definition/

Disable multi cursor functionality

I do not like the Visual Studio multi cursor options, and I never use them.
Inevitably, I phantom-pressing some key combination that brings up a multi cursor option, then I write some code, and then the code is destroyed afterward. Please tell me how to completely disable all such functionality in Visual Studio Code. I am running on Ubuntu, but also interested in how to accomplish this on Windows (if there is any difference).
I should mention, that this happens literally once every 5 minutes to me on Ubuntu, but in Windows it happens much less frequently (like once an hour).
Un-check Selection->Column Selection Mode
You can remove the keyboard shortcut(s) that trigger this functionality.
Click on the gear on the bottom-left corner of the window and choose "Keyboard Shortcuts" from the menu. Type "Add Cursor" into the "Search" box and it shows only the commands that contain "Add Cursor" in their name.
Right-click on each command that add a cursor and has a keyboard shortcut associated and select "Remove Keybinding".
Also search for "Multi-Cursor". It could return the command "Toggle Multi-Cursor Modifier" that is associated to a combination of modifier keys (one or more of Ctrl, Alt, Shift). If such a combination of keys is pressed when you click in the editor window it adds a new text cursor at the click position. You should also removed these key bindings.
Set this settings in editor settings :
"editor.columnSelection": false,
In Android Studio :
Un-check Selection->Column Selection Mode

How to disable Ctrl Alt M in Eclipse?

When in a Java editor in Eclipse, pressing Ctrl+Alt+M inserts a new line (like hitting the enter key). How can I disable that? I did not find any corresponding entry in Preferences > General > Keys.
The same happens if I press Alt Gr+M (generally, Alt Gr seems to be the same as Ctrl+Alt in many cases).
Is there some other place where you can see/disable/change key shortcuts in Eclipse (or plug-ins?)
#msa, Go to : Window --> Preferences --> General --> Keys. Now type Ctrl+Alt+M in the search box. You will find a command named as "Add Memory Block" & an option below that "Unbind Command". Select the command & press the button. Now Click on "Apply" button & you're done.
In my case, it unbinds when binding it to another command (for example, maven install) when in Windows.
As stated by RAS, you can unbind the key combination functionality through eclipse preferences - > General -> Keys . Here's a screenshot for easy reference.