1

I occasionally bump into this issue where when I'm typing code on android studio after some time the code gets auto-highlighted on the current line to the current cursor position while typing, hiding what I'm typing in the process. this really gets annoying especially when i need to review a particular line (which will also get auto-highlighted on gaining focus). I have tried to search for the cause of this and perhaps how to fix it but no related problem posted here I've been able to relate mine with. So far the only solution is to restart Android Studio. The rest of the editor functionalities work fine so far.

image description here

jps
  • 20,041
  • 15
  • 75
  • 79
Xstarz
  • 71
  • 5
  • https://stackoverflow.com/q/49737355 – Mike M. Apr 12 '18 at 07:16
  • 1
    Hey @MikeM. Thanks for the link. I had not found that yet. The problem is exact [here](https://stackoverflow.com/questions/49737355/white-line-keeps-blocking-codes-in-android-studio) however I still find the solution suggested unclear. Again thanks for helping. – Xstarz Apr 12 '18 at 08:58

1 Answers1

0

On Windows:

Close Android Studio first

Go to your User Folder - on Windows 7/8/10 this would be:

C:\Users\ (ex. C:\Users\username)

In this folder there should be a folder called .AndroidStudio (Note: it would be hidden).

Delete this folder (Backup it before to another location).

This should reset your Android Studio settings to default.

ColdFire
  • 6,764
  • 6
  • 35
  • 51
Rajesh
  • 2,618
  • 19
  • 25