pilotmoon / PopClip-Extensions

Source code for extensions in the official PopClip Extensions directory.

Home Page:https://www.popclip.app/extensions/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PopClip slow down the 'select' action in Jetbrains IDE(Android Studio/Intelij IDEA)

NamekMaster opened this issue · comments

When selecting text in those IDE, and press Ctrl+x to cut text quickly, it cut twice actually. The first time cut the selected text, and the second time cut the whole line. If I select the text and wait until PopClip's popup appears then Ctrl+x is working properly. I also tried to keep only the built-in extension but it still happened. Everything would be ok if I quit PopClip. So, I guess this is PopClip's issue.

The reason why I said slow down the select action because of the Ctrl+x cuts whole line if there is no text selected.

Here is an example. The first time I waited until the popup appeared everything was ok, the second time cut twice.
ezgif com-gif-maker

Hello, yes, this is a known issue. I have been in contact with the jetbrains developers about it and they have investigated the matter, and they confirmed that the bug is within JetBrains code itself. There is nothing in PopClip that can be done about it, however, you can disable PopClip in the jetbrains app using the excluded app list, and then use a keyboard shortcut to activate PopClip, which will work around the issue.

Actually, the issue we were looking at was a double paste issue rather than a double cut issue, but perhaps they are related.

You are right, there is also double paste.

Closing as resolved in latest PopClip release (by excluding JetBrains IDE)