microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.35k stars 28.6k forks source link

Screen Scrolls Down Whenever I Begin Typing, Only When Using Java #29667

Closed Bbooth4 closed 7 years ago

Bbooth4 commented 7 years ago

Steps to Reproduce:

  1. When I type a key, the screen scrolls down (opened up a new window, same issue)
  2. It will not scroll down again until I stop typing for half a second and then continue (generalized time period)
  3. Only occurs if using Java, never had it happen with Ruby, HTML, CSS or JavaScipt,

Reproduces without extensions: Yes

rebornix commented 7 years ago

@Bbooth4 do you install any Java extension? It might be the extension that adds code lens to the file.

Bbooth4 commented 7 years ago

I tried disabling all of the extensions when it was happening and it didn't change anything. When I close it off and turn it off after a long time, it will work but after about 30 minutes it will happen again and I have no idea what I do to cause it to happen later. Only ever happened when using Java which makes me wonder.

My assumption is that is has something to do with the # references headers over the classes. It might screwed up with those since they take up extra space and it is the only unique thing to Java compared to the other languages I use.

rebornix commented 7 years ago

Ping our Java expert @aeschli to see if he has any insight about this.

aeschli commented 7 years ago

You can turn all code lenses off with "editor.codeLens": false

or just the Java code lenses: "java.referencesCodeLens.enabled": false

Please let me know if that stops the scrolling. Otherwise a animated gif would be helpful.

aeschli commented 7 years ago

Need more input...