dFroze
dFroze

Reputation: 51

JetBrains disable auto scroll right

I am having this problem when using JetBrains products (PyCharm, Clion, etc).

When using, for example, "Find Usage", the result window scroll to the right a bit (maybe to put the matched value in the middle).

How can I disable this kind of auto scroll ?

Edited:

Found a simplified version. Write in a file:

a=3; print "33333333333333333333333333333333333333333333333333333333333‌​33333333333333333333‌​33333333333333333333‌​3333333" + str(a)

Then 'Find Usage' of 'a' (make sure you have set Preview as well).

Upvotes: 2

Views: 1221

Answers (2)

Mikaelblomkvistsson
Mikaelblomkvistsson

Reputation: 3237

This is a bug in IntelliJ Platform, among others in PyCharm:

I would call it: breaking horizontal scroll position while browsing search results.

https://youtrack.jetbrains.com/issue/IJPL-162614/Editor-does-not-scroll-enough-to-the-left-when-navigating-from-the-search-occurrence-shifted-far-to-the-right

Upvotes: 0

segalaj
segalaj

Reputation: 1281

Exit your IDE, delete the IDE configuration file that managed the usage view and restart your IDE. It will reset the default layout.

For PyCharm, this file is by default located here:

~/.PyCharm<your version>/config/options/usageView.xml

Hope that helps.

Upvotes: 0

Related Questions