Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VaultPickerNew to Visual Studio Code? Get it now.
VaultPicker

VaultPicker

Guapiko

|
1 install
| (0) | Free
VaultPicker is a VSCode extension that lets you manage and quickly switch between multiple Obsidian vaults using a simple dropdown menu. It stores vault references (name and path), allows adding new vaults, and provides an API for other tools to access the currently selected vault. Perfect for seaml
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VaultPicker

VaultPicker — расширение для VSCode, позволяющее удобно управлять списком Obsidian Vaults (имя и путь) и выбирать активный vault через dropdown-меню в statusBar. Выбранный vault становится референсом для других инструментов (например, MCP server), что упрощает интеграцию и работу с документацией.

Features

  • Manage a list of Obsidian Vaults (name, path) in VSCode
  • Select active vault via status bar dropdown
  • Add and remove vaults (with duplicate check)
  • Store vaults and active vault in globalState
  • Export command VaultPicker.getActiveVault for external tools (API)

API Integration

You can get the currently selected vault from external tools (e.g., Python, Node.js) via VSCode command:

Python Example

import sys
import subprocess

def get_active_vault():
    try:
        result = subprocess.run([
            'code',
            '--command',
            'VaultPicker.getActiveVault'
        ], capture_output=True, text=True, check=True)
        print(result.stdout)
    except Exception as e:
        print(f'Error: {e}', file=sys.stderr)
        sys.exit(1)

if __name__ == '__main__':
    get_active_vault()

The command returns the active vault as a JSON object: { "name": "VaultName", "path": "C:/path/to/vault" }

Requirements

Requirements

  • VSCode >= 1.101.0
  • Python (для примера интеграции)

Extension Settings

No custom settings. All data is stored in VSCode globalState.

Known Issues

  • Only one active vault is supported
  • Vault path is validated minimally (regex)
  • Requires VSCode CLI (code in PATH) for external API calls

Release Notes

0.1.0

  • Initial MVP: vault management, status bar UI, add/remove/select, API for external tools

Publishing

See Extension Guidelines for publishing instructions.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft