Adds a command, an editor/explorer right-click item, a keyboard shortcut
(Cmd/Ctrl+Alt+O on a .md file), and a status bar button that opens the
current file in Obsidian, jumping straight to the right note in the right
vault. The status bar button appears at the bottom left whenever a Markdown
file is active.
It works by shelling out to obsidian://open?path=<absolute file path>.
Obsidian's path parameter searches your known vaults for whichever one
contains that path, so you don't need to hardcode a vault name anywhere.

Notes / things to check on your machine
- First run: Obsidian needs to already know about the vault the file lives in (i.e. you've opened that vault at least once before). It finds the vault by matching the path, so this should already be true for any note you're actively editing.
- Windows paths: the extension swaps backslashes for forward slashes before
encoding, since Obsidian expects
/-style paths even on Windows. If path matching still fails on your setup, that's the first thing to double check. - Changing the shortcut: edit the
keybindingsblock inpackage.jsonbefore repackaging, or just rebindopenInObsidian.openin VS Code's Keyboard Shortcuts UI after installing — no need to repackage for that. - Changing where it shows up: the
whenclauses currently restrict it to.mdfiles. AdjustresourceExtname/resourceLangIdinpackage.jsonif you want it available more broadly (e.g. also on.mdx). - To release a new version: bump
versioninpackage.json, commit, then create a GitHub Release with tagv<version>(must match). Publishing the release triggers CI to package and publish to the Marketplace. A plaingit push --tagsdoes not trigger it — only a published Release does.