Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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


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

Last synced: about 1 month ago
JSON representation

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.

---

## **Features**

- ⚙️ **Configurable Path**: Set your Obsidian Vault path in the extension settings for a seamless integration.
- 💾 **Save Code Snippets**: Select a block of code in VS Code, right click and save it directly to a new Markdown note in your Obsidian Vault.
- 📂 **Organized Folder**: All snippets are saved in a dedicated "Snippets" folder by default within your Vault, with the appropriate language specified.

---

## **Requirements**

- **Obsidian** installed on your machine. [Download here](https://obsidian.md/download)
- **VS Code** version 1.75.0 or higher.

---

## **How to Use**

1. **Set up your Vault Path**:
- Execute the command **"Configure Obsidian Folder"** from the Command Palette.

2. **Save a Snippet**:
- Select a block of code in any file in VS Code.
- Right-click and choose **"Save Code Snippet to Obsidian"** from the context menu.
- Your snippet will be saved in the "Snippets" folder of your Vault.

3. **View in Obsidian**:
- Open Obsidian and navigate to the "Snippets" folder to view your saved snippets.

---

## **Release Notes**

### **1.0.0**
- Coming soon!

---

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