This problem comes and goes, but it's been getting unbearable as times goes on.
I am using the latest version of VSCode (1.45.1) on a mac running OSX 10.15.4. with a minimal set of extensions (I have disabled everything I can), namely:
When I am editing a Markdown document with preview alongside it, the text window jumps with the cursor location moving up the window to the point of disappearing at the top.
I am not sure exactly what triggers this behavior, but I suspect it has to do with using any sort of graphic rendering, be it MathJax, Mermaid, or a simple figure.
Online searches show similar behavior reported, and supposedly corrected, several years ago. But nothing recent which surprises me as it is maddening.
Anyone has seen this behavior?
Any idea what could be triggering it?
The only way to disable file previewing when clicked on at all is by setting "workbench. editor. enablePreview" to false .
Ctrl + Shift + P write Toggle minimap and hit enter and it's gone.
VS Code supports Markdown files out of the box. You just start writing Markdown text, save the file with the .md extension and then you can toggle the visualization of the editor between the code and the preview of the Markdown file; obviously, you can also open an existing Markdown file and start working with it.
Markdown Preview Enhanced is an extension that provides you with many useful functionalities such as automatic scroll sync, math typesetting, mermaid, PlantUML, pandoc, PDF export, code chunk, presentation writer, etc. A lot of its ideas are inspired by Markdown Preview Plus and RStudio Markdown.
VSCode automatically synchronizes the Markdown editor and the preview panes. Have you tried to disable the markdown.preview.scrollPreviewWithEditor
and markdown.preview.scrollEditorWithPreview
settings?
ref: https://code.visualstudio.com/docs/languages/markdown#_editor-and-preview-synchronization
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With