Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Obsidian Code SnippetsNew to Visual Studio Code? Get it now.
Obsidian Code Snippets

Obsidian Code Snippets

EliteWise

|
252 installs
| (1) | Free
Transfer selected code snippets from Visual Studio Code to your Obsidian Vault. This extension create organized Markdown notes for your code blocks/snippets in one click.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Obsidian Snippets

Transfer selected code snippets from Visual Studio Code to your Obsidian Vault. This extension create organized Markdown notes for your code blocks/snippets in one click.


Download from VS Code Marketplace


Features

  • 💾 One-Click Save: Right-click any code to save it as a Markdown note in Obsidian

  • 📂 Auto-Organization: Your snippets are automatically saved by date with the correct language type (JavaScript, Python, etc.) in the Snippets folder


Requirements

  • Obsidian installed on your machine. Download here
  • VS Code version 1.75.0 or higher.

How to Use

  1. Save a Snippet:

    • Select a block of code from any VS Code file
    • Right-click and select "Copy selected code to Obsidian"
    • Choose your Obsidian Vault location (first time only)
    • Done! Your code is now in the Snippets folder
  2. View in Obsidian:

    • Open Obsidian → Go to "Snippets" folder
    • Or click "Open File in VS Code?" right after copying

Feedback and Support

Have suggestions or encountered a bug? Open an issue on GitHub.


For Developers

Follow the VS Code Extension Guidelines for best practices when contributing or forking this extension.


Enjoy! 🎯

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