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.
-
💾 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
- Obsidian installed on your machine. Download here
- VS Code version 1.75.0 or higher.
-
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
-
View in Obsidian:
- Open Obsidian → Go to "Snippets" folder
- Or click "Open File in VS Code?" right after copying
Have suggestions or encountered a bug? Open an issue on GitHub.
Follow the VS Code Extension Guidelines for best practices when contributing or forking this extension.