Microsoft/vscode
在 GitHub 查看Default view for markdown files doesn't work the first time vscode is started
Open
#244,597 建立於 2025年3月25日
bughelp wantedmarkdown-extverification-found
倉庫指標
- Star
- (74,848 star)
- PR 合併指標
- (平均合併 11小時 43分鐘) (30 天內合併 1,000 個 PR)
描述
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.98.2
- OS Version: Win10 22H2
Steps to Reproduce:
- In the settings, add Item: *.md, Value: vscode.markdown.preview.editor under Workbench: Editor Associations
- Close vscode
- With no vscode instances running, open .md file from explorer
- Text editor view is opened instead of the preview
- Verify that the setting is registered by checking Ctrl + P > View: Reopen editor with..., Markdown Preview is listed as Default
- Open another .md file, this second one is now opened in preview mode