Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

External Clipboard Manager breaking in JIdea

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.

like image 335
shiri Avatar asked Oct 28 '14 15:10

shiri


People also ask

How do I get the run window in IntelliJ?

For example, the Run tool window appears only after you run your code. It is accessible from the main menu View | Tool Windows | Run or using the shortcut Alt+4 as long as there is some output in the console and you don't close all the tabs in it.

Where is JAR dependencies in IntelliJ?

From the main menu, select File | Project Structure Ctrl+Alt+Shift+S and click Modules | Dependencies. Alt+Insert and select a dependency type: JARs or directories: select a Java archive or a directory from files on your computer.

What is code folding in IntelliJ?

endregion comments depending on the style you need, and name the created custom region. Now, when you select the Custom folding regions option, IntelliJ IDEA will fold such regions when you open your file in the editor. Before. After. Android - language-specific code fragments in Android.


2 Answers

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.

like image 163
shiri Avatar answered Nov 05 '22 23:11

shiri


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/

like image 30
naotaka Avatar answered Nov 06 '22 00:11

naotaka