简体   繁体   中英

How do I fix editor scroll lag in Eclipse Oxygen?

I just started using Eclipse Oxygen.2 Release (4.7.2) on Windows 10. The editor is lagging when I scroll up and down using the up/down arrow keys. In other words, when I move the caret vertically outside the view, the text doesn't scroll smoothly. But the line numbers scroll smoothly. The lag is less with plain text than Java files. I tried turning spell check off, but that didn't help.

Problem solved: The scroll lag disappeared recently, and the editor is working smoother than ever. I think this happened after I got a notification in Eclipse saying that updates were available, and I clicked the notification and did the updates.

Found one culprit: the mouse!

Having a " gamer " mouse (mine is a Logitech G502) that send mouse position at the rate of 1000 Hz have a strong impact on Eclipse vertical scrolling lag.

  • Lowering the mouse rate to 500 Hz reduce the lag but do not eliminate it.
  • Lowering the mouse rate to 250 Hz practically eliminate the lag.

This is really a problem specific to Eclipse, because I have tested with WebStorm and IntelliJ and neither of them manifest any lag while scrolling the same test file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM