In general I fold all the methods in my classes, then when I try to add a new method and start writing, the autocomplete appears and the rest of the methods get unfolded and the editor scrolls up randomly, so I lose the line where I was adding code. The cursor is still there so I press the keyboard arrows and the editor scrolls back again to the place I was editing, but this behavior is annoying.
Any solution?
In general I fold all the methods in my classes, then when I try to add a new method and start writing, the autocomplete appears and the rest of the methods get unfolded and the editor scrolls up randomly, so I lose the line where I was adding code. The cursor is still there so I press the keyboard arrows and the editor scrolls back again to the place I was editing, but this behavior is annoying.
Any solution?