An open API service indexing awesome lists of open source software.

https://github.com/elitewise/obsidian-snippets

Transfer selected code snippets from Visual Studio Code to your Obsidian Vault
https://github.com/elitewise/obsidian-snippets

Last synced: 4 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# **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](https://marketplace.visualstudio.com/items?itemName=EliteWise.obsidian-snippets)**

---

## **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](https://obsidian.md/download)
- **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](https://github.com/EliteWise/obsidian-snippets).

---

## **For Developers**

Follow the [VS Code Extension Guidelines](https://code.visualstudio.com/api/references/extension-guidelines) for best practices when contributing or forking this extension.

---

## **Enjoy!** 🎯