Snippets
Snippets is your library of text and code you paste often: a reply you send every week, a command, a piece of code. A snippet is plain text. What you copy is exactly what you wrote.
Open it from Sidebar › Tools › Snippets, or choose File › New Snippet in the menu bar to open it with the Create New Snippet dialog.
Snippet list
Section titled “Snippet list”The list on the left shows every snippet in the project, with its title and first line.
| Control | What it does |
|---|---|
| + (Create new snippet) | Opens the Create New Snippet dialog. |
| Search snippets | Filters the list by title, tag or text. |
| Copy button (on hover) | Copies the snippet’s text without opening it. |
Click a snippet to open it on the right.
Read a snippet
Section titled “Read a snippet”A snippet opens ready to copy. Code shows line numbers and colours; text does not.
| Control | What it does |
|---|---|
| Edit | Switches to the editor. |
| Copy | Copies the text to the clipboard. |
| Expand | Lets the text fill the panel. Esc brings the rest back. |
| More actions (⋯) | Open in file explorer, Copy file location, Delete snippet. |
When an agent is working on the snippet, a banner above the text says so.
Edit a snippet
Section titled “Edit a snippet”Click Edit. You can change the title, the text, the language and the tags.
| Control | What it does |
|---|---|
| Language | Sets the language. Text shows plain text; any other language shows code with line numbers. |
| Tags | Click + Add to open Manage Tags. Click the × on a tag to remove it. |
| Save (floppy disk) | Saves and stays in the editor. An amber dot means there are unsaved changes. |
| Done | Saves and goes back to reading. |
| More actions (⋯) | Adds Discard changes, which drops your edits and goes back to reading. |
If the text looks like an API key, Neova offers to move it to Secrets.
Use a snippet elsewhere
Section titled “Use a snippet elsewhere”- ⌘K: search for the snippet and press ↵ to copy it. ⌘↵ opens it in Snippets.
- ⌘⇧K (Insert Reference): pick the snippet to put its text where your cursor is: a task, the chat, a text box or an agent’s terminal.
How to create a snippet
Section titled “How to create a snippet”- Click + at the top of the list.
- Type a Snippet Title.
- Click Create, or press ↵. The snippet opens in the editor.
- Type or paste the text, and set the language and tags if you want.
- Click Done.
How to import a Markdown file
Section titled “How to import a Markdown file”Drag a .md file onto the Snippets page and drop it. Neova creates a snippet from it.
- If the file has frontmatter, Neova reads
title,languageandtagsfrom it. - Without a
title, the file name becomes the title.
How to delete a snippet
Section titled “How to delete a snippet”- Open the snippet.
- Click ⋯ and choose Delete snippet.
- Click Delete to confirm.
Related
Section titled “Related”- Snippets are stored as files in
.neova/snippets/. See The .neova folder. - Agents read and edit snippets with
list_snippets,get_snippet,create_snippet,update_snippetanddelete_snippet. See MCP tools.