External Clipboard Manager breaking in JIdea - intellij-idea

I use an external clipboard (ClipMenu) on Mac OS X 10.8.5 with IntelliJ Idea 13.0.3. It works everywhere else, but breaks consistently in JIdea.

Apparently this is due to a Java bug.
See solution from https://youtrack.jetbrains.com/issue/IDEA-114252#comment=27-678923 :
Right click on "Application/IntelliJ IDEA 13.app" choose "Show Package Contents", edit "bin/idea.properties", add this property "ide.mac.useNativeClipboard=True", restart intellij.
Using MaxOS 10.9, ClipMenu 0.4.3, Intellij IDEA 13 Ultimate.
Update : This trick will likely hang the UI, "Until given an official ok this is a 'hack' not a 'fix'"
YMMV.

I'm the developer of ClipMenu. Recently I found a workaround for this issue, and released a testing version. If you are interested in it, please try it and give me your feedback.
http://www.clipmenu.com/blog/2014/10/31/compatibility-testing-with-jetbrains-ides/

Related

Anaconda Spyder Auto Complete DOES work, but it does not show the possible solutions

Sorry for another post like this, I found a LOT of them here asking how to enable auto-completion, but that is not my case.
If I declare a variable and then hit CTRL+Space it works - it will autocomplete it. What I am missing thought is, that is shows a list of the possible solutions while typing - how do I enable that? (They only show after hitting CTRL+Space, is there no feature like in IntelliJ where they show that during typing already?
(Spyder maintainer here) I guess what you are referring to is auto-completion on the fly, i.e. as you write on the Editor or Console.
Unfortunately, it's not possible to enable that right now (August/2018). However, it'll be available (but only for the Editor) in our next major version: Spyder 4, to be released in 2019.

Can't type in IntelliJ

I'm using IntelliJ IDEA on my Mac to work on a project, and I keep on coming across an issue where I can't type. Occasionally when I switch to another application and then switch back to IntelliJ I can't type anything, and the cursor doesn't appear on text when I click on things. Does anyone know what causes this? After 1-2 minutes it goes back to normal, but it's started happening more frequently and it's pretty frustrating to not be able to type and have no way to fix it.
This is the version of IntelliJ I'm using:
IntelliJ IDEA 2016.1.3
Build #IC-145.1617, built on June 3, 2016
JRE: 1.8.0_76-release-b198 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Turn off Vim Emulator from Tools in the IntelliJ, like this picture:
I am encountering this issue aswell, ...
MAC os Mojave 10.14.2, Inteliij Community 2018.3.5
Aside from restarting / clearing caches, I found that cmd + leftShift + F still opens the search window, and all my keystrokes appeared in the searchbox!
After the searchshortcut, I was able to close the searchbox and work again!
The answer here helped me https://intellij-support.jetbrains.com/hc/en-us/community/posts/206152119-Can-t-type-in-editor-window
Quoting the author of the answer:
I had the same problem. It goes away after I click the icon at top of
the scroll bar. it happens frequently on windows 7/10, and
occasionally on mac. my colleagues said they have experienced it too
Have the same issue occasionally, can't type in any Intellij windows. My temporary/quick fix, is to:
Close any terminal windows in intellij
Use cmd+shift+f to pull up the search window.
Seems to fix it, for a while.
Closed IDEA, all IDEA projects! Even though in other IDEA windows I could type.
Removed .idea folder in the project I could not edit.
Restarted IDEA.
Then I was able to type!
Maybe you entered Vim emulator as said. Maybe only by mistake :).
Control-V is a frequently used shortcut. And Control-Alt_V is the shortcut to enable Vim mode so you can see the problem...
How to know in five seconds: type a ":" (colon) and if the cursor jump to end of the screen, that is vim. If so enter q to quit and then Control-Alt-V (on windows) to go back to IDEA standard mode.
vi is a powerful text editor since ever. But only if you pretend and know how to use it... There is even a warning on the IDEA install saying like "do not install unless you are familiar with Vim" in yellow bold text, iirc.
[Follows historic data, that you may find boring off-topic or interesting]
Today's editors opens the code in edit mode right away so you can start typing over existing code. Vim by the other hand opens the code in, let us say, browsing mode: there is a set of navigation keys to browse the code. Everything you type is supposed to be a command. When you want to edit you enter INSERT mode and then you can type new text. Only then.
Just for more historic data: vi navigation mode is great for studying code you do not know, using IDEA, since it does not change the text unless you tell it to, and some vi commands are clever.
One example:
"/" (forward slash) is one search command, and "z" is a smart scroll command so that:
/setCellFactory will search for the next match of "setCellFactory" and put the cursor there
Then if you type "z" the code will be positioned so that line is the first on screen. And if you type "." the line will be at the middle. And if you type "-" that line will be at the last position at the screen. And you can use these commands again and again. And new slash will go for the next match, like F3
This "z" thing is a feature I miss in Visual Studio, IDEA, Eclipse, Word, WordPad: these commands to scroll text AROUND a pattern... /pattern, z, z., z-. The alternative is the mouse wheel...
I am used to vi since the 80's and is the editor I still use today on Linux terminals so when this happened to me on IDEA I was lucky to remember and suspect of that on the first time.
Sorry if these details are boring
Ensure you haven't unintentionally enabled vim emulation. Go to IntelliJ Idea -> Preferences and select Plugins. Scroll down and look for the vim emulation plugin and if it's checked, then either uncheck it or uninstall it completely.
Ran into same issue with intelliJ 2017.1.2, but no VIM Plugin. However, I had just created an empty project with some .groovy files. I could edit the files in the groovy project, but not java projects.
Only way I could fix java projects, was blow-away workspace.xml files in each, then I could edit again. However, had to re-create tomcat configs, breakpoints, other IDE settings. etc.
I had a problem with entering characters when working with .story files. When I tried to type in any character, it appeared for a short while and immediately disappeared. The cause of the problem was jbehave plugin I was using. After uninstalling it and restarting IntelliJ everything was fine.
It seems to be because another window has the cursor and is not giving it back.
Check any open floated windows, click on them & then click back to your intellij instance
alternatively, if you have multiple intellij instances open the cursor could be there...
Go to the most recently opened IntelliJ instance
Check if the cursor has become stuck in that project's terminal window, or another window
no? check all other open IntelliJ instances
For me it happened because of vim
Om Mac, I solved it by navigating to File → Reload All from Disk.
Keyboard shortcut: ⌥ ⌘ Y
IntelliJ IDEA 2020.1.4
Try disabling plugins one at a time. It was the "BashSupport Pro" plugin that caused it for me. Disabled it and I could type again right away.
I read other comments saying some other plugins caused the issue as well.

Intellij 14 weird editor/cursor behaviour

I just upgraded my Intellij IDEA to version 14, but I have the problem that my cursor in the editor window is acting "different". It starts of in a sort of protected mode, which looks like the insert mode but it isn't, where I can't insert anything. After pressing some keys like a it changes back to normal except that sometimes it goes in a selection mode and by that I mean if I hit backspace instead of deleting the character as expected it just selects/highlights it. I find this behavior really annoying and I hope one of you can help me.
Additional Information:
Mac OS X 10.10 Yosemite Intellij 14.0
Please ask if i can provide any additional information which might be helpful.
Disabling/Uninstalling the ideaVim plugin seemed to fix the problem for me. The plugin description hints that you can configure it via a configuration script in ~/.ideavimrc, which there may also be options to get "normal" behavior with the plugin installed but I haven't looked into that though because the plugin doesn't seems all that useful to me.
Disable Vim Emulator for Intellij.
On the top menu, go to Tools > Vim Emulator
ideaVim plug in is the problem, disable that and that misbehaviour will be gone.
Mac OS X Yosemite / IntelliJ IDEA 14 CE / us keyboard layout /
If your cursor looks like this:
Go to tools:
Turn off Vim Emulator:
Cursor should go back to normal.
Settings > IDE Settings > Editor > Appearance > Disable Use block caret
This fixed the issue for me.
It seems you have entered into insert mode. I have mac and I entered some combination of keys which somehow enabled insert mode. The use block caret was not ticked for me. I found this mentioned on JetBrains thread to get out of insert mode
In short, press on mac to get back into editing mode with the normal cursor
⌥ + ⌘ + v
Go to the Keymap section of your preferences and add your keyboard shortcut to the Toggle Insert/Override command.

What does Command+M shortcut mean in IntelliJ Idea (Mac)?

I know this is stupid question but I'm always! mistakenly using this f.king short cut and IDE locks. So, I cannot click anything in the IDE.
I searched the Internet as well as http://www.jetbrains.com/idea/docs/IntelliJIDEA_ReferenceCard_Mac.pdf but didn't find what it is and how to escape. Currently I'm closing the IDE and rerun it. Any suggestion would be appreciated. Thanks.
According to the default keymap sheet it doesn't actually do anything.
There might be a conflict with the OS default to minimise the window which is causing the application to lock.
I'm running IntelliJ 13 Ultimate on Mavericks. Mine says it's supposed to Minimize the window.
In the interest of SCIENCE, I pressed Command-M. Sure enough, it locked up my IDE. I had to kill it to continue working.

Xcode 5 dp crashes when typing any code

Initially I thought it was Apple's fault. My Xcode 5 dp crashes every time when I tried to type any code.
Launch Terminal
cd ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/
cd ~/Library/Developer/Xcode/Third-Party\ Plug-ins/
Rename/Delete your Plug-ins one by one until XCode 5 works.
In Xcode 5 go to Preferences > Source Control > Uncheck the Enable Source control
This problem has something to do with auto completion. I remembered I installed a plugin KSImageNamed. It will auto complete your image name when typing -[UIImage imageNamed:]. And most importantly, I saw its name in crash report.
Solution: Go to ~/Library/Application Support/Developer/Shared/Xcode and delete KSImageNamed.xcplugin.
Great Post. For my case, it is another type of xcode plugin name called "lin" which will do the similar thing. After the plugin is moved to trash, works fine.
Additionally you should also remove any plug-ins that are located at ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/
If all fails, you might have to uninstall Xcode
I had same problem. If you go to XCode -> Preferences -> Source Control and turn OFF Source Control everything works like a charm and there are no more crashes!!! :) Hope this help ;)
In my case the problem was in user defined code snippets, located at ~/Library/Developer/Xcode/UserData/CodeSnippets. Two different snippets had same Completion Shortcut.