Skip to content

Markdown: Open Preview shortcut not working on linux for files where the .md extension is capitalised as .MD. #45960

@krisfur

Description

@krisfur

Reproduction steps

  1. Create a markdown file on a linux system with the .MD extension.
  2. Press ctrl+shift+V

Current vs. Expected behavior

Current behaviour: markdown preview doesn't open.
Expected behaviour: markdown preview opens.

This can be easily fixed here:

"context": "Editor && extension == md",

by adding || extension == MD

Zed version and system specs

Zed: v0.217.3+stable.105.80433cb239e868271457ac376673a5f75bc4adb1 (Zed)
OS: Linux Wayland cachyos unknown
Memory: 30.5 GiB
Architecture: x86_64
GPU: AMD Radeon 890M Graphics (RADV GFX1150) || radv || Mesa 25.3.2-arch1.2

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    frequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P2Average run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions