zardoy/vscode-experiments

new command: Reset horizontal scroll

Opened this issue · 0 comments

Can be useful because:
deleting really long line from its end, makes vscode to stay on this vertical scrolling (you won't stick at the start as usual), this makes you less effective as you can no longer assess code indentation properly. you can also ask me for reproduction

Builtin commands / methods allow to control scroll only vertically, which is stupid, but we can place cursor in the start and then back to its origin position, which would reset horizontal scroll

Btw need to test wether it effects location history (Go Back)