sourcery-ai / sourcery

Instant AI code reviews
https://sourcery.ai
MIT License
1.5k stars 65 forks source link

Code lens causes editor to scroll on input #394

Closed Magnymbus closed 8 months ago

Magnymbus commented 9 months ago

Description

Better explained with a gif: 2023 10 04 16 20

related to #393 as it only occurs after the code lens is misaligned.

EDIT: Because this issue only occurs after #393 has occurred, autosave afterDelay with default delay are sufficient to mitigate the issue.

Debug Information

Operating system and Version: Windows 11 Home 22H2 (v10.0.22621)

Sourcery Version: v1.10.1 v1.10.0

IDE Version: VSCode v1.83 VSCode v1.82

Enabled VSCode extensions: AREPL for python v2.0.5 (Almenon) autopep8 v2023.6.0 (Microsoft) Bookmarks v13.4.1 (Alessandro Fragnani) Formatting Toggle v3.2.0 (tombonnike) Hex Editor v1.6.12 (Microsoft) indent-rainbow v8.3.1 (oderwat) IntelliCode v1.2.30 (Microsoft) Mintlify Doc Writer v2.2.1 (Mintlify) Project Manager v12.7.0 (Alessandro Fragnani) Pylance v2023.9.30 (Microsoft) Python v2023.16.0 (Microsoft) Python Environment Manager v1.2.4 (Don Jayamanne) Python Indent v1.18.0 (Kevin Rose) Todo Tree v0.0.26 (Gruntfuggly) vscode-icons v12.5.0 (VSCode Icons Team)

ruancomelli commented 8 months ago

A fix for this issue has just been released. Thanks for reporting this issue, and please let us know if it happens again!