Microsoft/vscode

Markdown preview switches to latest open markdown document

オープン

#146,334 opened on 2022/03/30

 (1 件のコメント) (0 件のリアクション) (1 人の担当者)TypeScript (39,847 件のフォーク)batch import
bughelp wantedmarkdown-ext

Repository metrics

Stars
 (184,936 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Steps to Reproduce:

  1. Open a markdown preview
  2. Close the associated markdown file
  3. Scroll around
  4. Open the same markdown file again
  5. 🐛 Scroll position is reset.
  6. Close the markdown file
  7. Open a different markdown file
  8. 🐛 Preview changes to the new markdown file.

Maybe it's because I use the markdown previews as markdown readers but I don't expect their state to be tied to the currently open markdown file, especially because I can close the markdown file and keep viewing without issue

コントリビューターガイド