IntelliJ Idea 14 keyboard works weird on mac - macos

Earlier I could delete a selected text with delete key in my mac. Now I have to delete it using "shift" + "delete"."delete" deosn't work anymore
Also when I selected a text and delete it, I cannot use arrow keys to move the cursor. It keeps selecting the texts while I move the cursor. I cannot type anything also. I have to press esc key and exit select mode and then type. Also while I'm typing if I press esc key, the cursor turns to a block. Then I cannot type anything. But all the character keys does some weird stuff. Like goes to the bottom of the file.
When I press the key "s", the cursor turns back to the "|" and I can type again.
Please give me some advise. I already tried changing the keymaps, restarting the keymaps, Completely cleaning intellij and reinstalling.

Ok. I figured it out. Vim emulator is the one giving problems. You can disable vim emulator in Tools menu. Then the keyboard works normally.

Related

Deleting a line and inserting in IntelliJ Idea Ultimate

So when I open a new class, it is not in insert mode, I am not sure but seems like when I press i, it goes into insert mode (like vim editor). Also when a line is selected, if I press the delete button it doesn't delete it and had to delete the line character by character. This problem is recent and I wonder if I have accidentally messed up with a setting. I don't have this problem in IntelliJ community edition.
Sounds irritating! Make sure you're not in vim mode (Tools -> VimEmulator), you might want to remove the keyboard shortcut for it too. Also make sure you're not in column mode (Edit -> column mode).
Edit: Uncheck the Vim Emulator

xcode 7 conflicted shortcut cannot be removed

I added a shortcut key to "Clear Constraints" in the xcode preferences, and xcode installed the shortcut twice under different xcode names. (See the image.)
The problem is that there is no little "-" (minus) sign (see the red arrow in the image) to remove my duplicate shortcut attempt, because any key I press is interpreted as a shortcut combination.
The problem shortcut(s) are shown below the red arrow. The red arrow one is fine, I just wanted to show the little "-" minus sign there.
Does anyone know how to get around this problem (without reinstalling xcode and all my custom keybindings :-)). Thanks
Image showing duplicate shortcuts below red arrow
Quit Xcode. Restart the computer just to be on the safe side: we want to force Xcode to write its preferences out to disk.
Go to ~Library/Developer/Xcode/UserData/KeyBindings. Open the key bindings file with a good text editor.
You are now editing XML; I presume you know what you're doing. You will see two <dict> entries whose <action> starts with clearConstraints. Delete those entries. Save.

Cloud 9 (c9.io) terminal will not allow me to enter text

I am very new to this, and my c9 terminal seems to be frozen. The cursor is blinking, but when I try to enter text, nothing shows up. I have tried exiting my workspace and reloading and it still will not work.
Opening a new terminal tab with the View menu or pressing ALT-T is the best bet to get a working terminal back (as mentioned in the comment above)... you may also find that having selected the broken terminal though, you can't click things in your menus anymore. I've found that pressing the Preview button and then closing it, seems to get the UI to be responsive again.
Supports official response is that you should perform workspace reset using ?reset=1 after your workspace url (which doesn't last or work very well in my experience).
This can happen after pressing ctrl-s, pressing ctrl-q should restore it. See https://unix.stackexchange.com/a/12108/41174 for explanation.
I tried ALT-T and ?reset=1. Nothing helped in my case.
I managed to bring my frozen terminal back to life by closing its tab. I ignored the warning that all processes would stop. Then I clicked on the rightmost tab with a plus sign. In the menu I selected "New Terminal".
You can click at the top right where CPU usage is shown. Then click on "Restart" when the menu appears.

Stopping mouse selection in Visual Studio

I don't know what key combination I did, but now each time I click somewhere in the page, Visual Studio selects the text between first and second mouse click.
I tried to escape from this "selection mode", but nothing helps, nor Escape, nor left clicks, nor Ctrl+Up/Down.
I opened another VS window and there is all right - normal selection.
What is it, how to cancel it, what is it for?
I should probably restart Visual Studio. I remember that that happened some times ago in VS 2005. Very annoying VS "feature".
P.S. It disappeared as suddenly as it appeared, but I found similar problem described here. The guy says that "The only way to stop is to press escape or shift and an arrow key."
I have very often the same issue, just after stopping the debugger. No idea how it starts... But I found the key combination to stop it: Press "Alt Gr"+"Ctrl(right)"+"Shift(right)"
I figured out how to turn this issue on and off:
Just press the ins (Insert) key; If you're using a full sized keyboard it will be to the right of backspace and above delete or if you're using a smaller keyboard it'll be the second option of zero key on the number pad to the right of the right arrow key.
Click on tools and then options. Under environment select keyboard. Then there will be a window open up with options. The first drop down says something about mapping. Set that to default.
Brief, if this was previously selected, is an old DOS format and the key bindings will cause similar actions.
I have experienced the same problem (VS 2010). Here is what happens:
I start the debugger on a project whith Unmanaged debugging enabled. When I try use the key combination Ctrl+Shift+L to delete a line I get a dialog saying 'Changes are not allowed when unmanaged debugging is enabled'. The title of the dialog is 'Edit and Continue'. When the dialog is closed the editor gets stuck with this behavior:
Shift+Right-Click behavior: It selects the text between the cursor and the position of the mouse-click
Ctrl+Scroll behavior: If I try to scroll using the mouse wheel it will zoom in or out instead.
It behaves like the Shift and Ctrl keys are being held down.
I have found these key combinations that will get me out of this situation:
Shift + Arrow down
Ctrl + Arrow down
Until I discovered this I had to restart Visual Studio.
Use the (insert) Key in the Key board.
I have this issue when I VPN to a machine running VS. Here is the key combination I have found to get me out of this state. I do a ctrl-f to open the find window. I type some characters in the find textbox and I notice that the letters are all capital (even though I did not set the caps lock). I hit the caps lock key and test using the find text box to make sure my caps lock is not set (lowercase). Once the lowercase is set, the selecting text between mouse clicks behavior goes away. Don't know why, but this works for me.

Visual Studio Highlights when I don't select text

I just got into the office, and booted up my computer to work on my current project.
I hopped into a class file, and selected (through mouse highlighting) a group of events to delete.
What happened though was it only erased one character. Wondering what happened, I clicked at the beginning of the selection and re-highlighted the text to delete it again.
So i just clicked randomly in the middle of the file, and it highlighted from the beginning of the first selection all the way to where I clicked in the middle.
I have rebooted both VS, the computer and insured that sticky keys and all other "accessibility" software was turned off.
UPDATE
When I click shift and try to manually highlight with my arrow keys, the cursor doesn't even move.
UPDATE
When I click escape from the selection it goes to the search drop down:
alt text http://img69.imageshack.us/img69/9591/searchbox.png
The same thing happened to me, I held down the shift key for a few seconds then while still holding it down I clicked anywhere in the open page in Visual Studio, and voilá, my mouse click was back to normal.
I imagine I had unwittingly activated some kind of keyboard shortcut but not sure which
I had this same problem too. I believe I found the solution: check your keyboard options.
Go under tools -> options, under the Environment subtree, click 'Keyboard'. Then, you will see a dropdown with the label "Apply the following additional keyboard mapping scheme". If you select "Brief" from this, you get the keyboard behavior as described. I'm not exactly sure what "Brief" refers to, but it certainly isn't familiar to me.
Change the keyboard layout back to (default) or another one to get the behavior you expect.
Reinstalled VS and now everything is better.

Resources