Skip to content

Transfer selected code snippets from Visual Studio Code to your Obsidian Vault

License

Notifications You must be signed in to change notification settings

EliteWise/obsidian-snippets

Repository files navigation

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.



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! 🎯

About

Transfer selected code snippets from Visual Studio Code to your Obsidian Vault

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published