caret shifts all the way to the left after changing windows
Answered
Whenever I alt + tab out of IntelliJ, the caret will automatically shift all the way the left, either to the very beginning of the line or right up to whatever text is there. It forces me to have to keep hitting space or tab more than I would like. Not helpful when I'm following other code from class. I suspect I may have enabled a feature by accidentally hitting a hotkey.
thanks in advance,
Please sign in to leave a comment.
Hello,
Make sure to enable the following option under File | Settings | Editor | General:
Look like we have different builds of IntelliJ, my window looks like this:
OK, so does the issue persist with the option disabled? What version of the IDE do you have (Help | About)?
If it does, try enabling the option, restarting the IDE using the File | Invalidate Caches & Restart menu option, then disabling it again. Does it help?
When the option is disabled, it functions as desired. Thank a ton!
I think I may have discovered a bug, though. I just noticed that the caret misbehaves when I have multiple IDEs(instances of IntelliJ) open at the same time. When I only have one IDE running, it behaves as normal.
Here's what I'm running:
IntelliJ IDEA 2020.2.3 (Ultimate Edition)
Build #IU-202.7660.26, built on October 6, 2020
Licensed to Ernesto Ruiz
Subscription is active until August 13, 2021
For educational use only.
Runtime version: 11.0.8+10-b944.34 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1998M
Cores: 4
Non-Bundled Plugins: Lombook Plugin
Thank you Ernie.
I managed to reproduce it and found a relevant issue on our tracker: IDEA-96828. Feel free to follow it for updates.