vscode-markdown icon indicating copy to clipboard operation
vscode-markdown copied to clipboard

Feature request: autoscroll in preview shows the new typing

Open Bumblebee00 opened this issue 8 months ago • 1 comments

https://github.com/yzhang-gh/vscode-markdown/assets/54026028/53c3da52-e3b1-4102-91fa-d7d51929917b

Proposal

When I press command shift v to show a preview of the file, and I put the preview side by side with the markdown file, if the two windows are of the same length, everything is fine, but if the window containing the markdown preview is smaller, it will be centred in the center of the markdown file on the left, but that is not where I am typing. So when I type I don't see the part I need to see. Would be cool for the "auto scroll" to show the area I am typing in.

I hope I explained myself :) would appreciate a lot and shouldn't be a hard thing. thanks :)))

Bumblebee00 avatar Dec 03 '23 19:12 Bumblebee00

Thanks for the feedback. However, the synchronization is provided by VS Code itself (see https://code.visualstudio.com/docs/languages/markdown#_editor-and-preview-synchronization). I guess there already be similar issue opened in the vscode repository. You can check it out.

yzhang-gh avatar Dec 04 '23 14:12 yzhang-gh