64

For some reason Intellijs text cursor keeps following my mouse and highlighting everything. Is there some setting that can do that? I can't seem to find it from searching the settings. Where else could it be?

5 Answers 5

189

If you have a touchscreen try touching it somewhere. It helped me to solve the issue.

Found the solution in this thread on the JB website.

11
  • 4
    Did the trick on my Dell XPS 9370 w/ Debian 9.5 tl;dr: "If you have a touchscreen, touch it and it will SOLVE this issue."
    – thicolares
    Sep 2, 2018 at 22:09
  • 3
    Solved the issue on Lenovo Thinkpad. Thanks a ton. I was using ideamvim and unnecessarily blaming the extension.
    – Sai Nikhil
    Jan 4, 2019 at 18:10
  • 1
    Wow, just wow. I was blaming ideavim for the past 2 hours as well until I see this. Solved the issue on Asus UX303 Ubuntu 18.04.
    – lhhong
    Feb 12, 2019 at 15:03
  • 1
    Dell 9560 fixed. This had been driving me nuts
    – nrhorner
    Apr 7, 2019 at 14:29
  • 2
    If this is the correct solution then someone should close it so that we don't get comments from people saying "thanks/solved on distro version on laptop"
    – rodude123
    Mar 4, 2020 at 22:41
3

I use a touch screen monitor and i deal with the same issue. my mouse cursor remained in selecting state and highlight every thing. I touch somewhere on the my monitor screen once and solved this problem without closing app.

Other solutions are: close and open app / restarting computer

1
  • Cool, worked for me as well
    – Amin
    Aug 12, 2022 at 14:15
1

I had that problem twice on two different computers in different jetbrains IDEs, gogland and pycharm.

The solution, as annoying as easy, restarting of the machine. Restarting the IDE or even up/downgrading did not help.

1
  • 1
    I had the same problem and I couldn't find any solutions to that because I though there was an option in Intellij. I never though I had to restart the computer to make it work.
    – vinid223
    Nov 7, 2017 at 16:46
1

Solution

  1. Go to setting

  2. Search for mouse

  3. In the editor action, edit the Add rectangular selection on mouse drag

Here is a helping Screen Shot

0
0

Mohammad Reisi's answer (https://stackoverflow.com/a/72196705/22460400) worked for me. I had to open my laptop (I use 2 monitors with the laptop closed and touch the screen a few times and then closed the laptop and it worked.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.