Microsoft/vscode

Default view for markdown files doesn't work the first time vscode is started

Open

#244.597 geöffnet am 25. März 2025

Auf GitHub ansehen
 (1 Kommentar) (2 Reaktionen) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
bughelp wantedmarkdown-extverification-found

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.98.2
  • OS Version: Win10 22H2

Steps to Reproduce:

  1. In the settings, add Item: *.md, Value: vscode.markdown.preview.editor under Workbench: Editor Associations
  2. Close vscode
  3. With no vscode instances running, open .md file from explorer
  4. Text editor view is opened instead of the preview
  5. Verify that the setting is registered by checking Ctrl + P > View: Reopen editor with..., Markdown Preview is listed as Default
  6. Open another .md file, this second one is now opened in preview mode

Contributor Guide