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
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.
-
4Did 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." Sep 2, 2018 at 22:09
-
3Solved the issue on Lenovo Thinkpad. Thanks a ton. I was using ideamvim and unnecessarily blaming the extension. Jan 4, 2019 at 18:10
-
1Wow, 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.– lhhongFeb 12, 2019 at 15:03
-
1
-
2If 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" Mar 4, 2020 at 22:41
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
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.
-
1I 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.– vinid223Nov 7, 2017 at 16:46
Solution
Go to setting
Search for mouse
In the editor action, edit the Add rectangular selection on mouse drag
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.