• Link to X Link to X Link to X
  • Link to Facebook Link to Facebook Link to Facebook
  • Link to Youtube Link to Youtube Link to Youtube
  • Link to Reddit Link to Reddit Link to Reddit
  • Link to Rss Link to Rss Link to Rss
  • Blog
  • Support
    • FAQ
    • Help (HTML)
    • Manual (PDF)
    • Forums (read-only)
    • Library (GitHub)
    • Update/Resend Registration Keys
    • Contact Us
  • About
    • About Emurasoft
    • Meet the Team
    • Other Products
    • Awards
    • Privacy Policy
    • Go to Emurasoft Customer Center
  • 🌐 English
    • 日本語
    • 한국어
    • Deutsch
    • 简体中文
    • 繁體中文
  • Download
  • Buy
  • Features
  • Menu Menu

Snippets Plug-in

The Snippets plug-in allows you to insert words and phrases quickly. Save and recall your most frequently used pieces of code so that you never have to type something more than once.

The snippets plug-in allows you to insert words, phrases, and interactive pieces of code quickly, improving your speed and proficiency at creating documents. Snippets are pieces of text that you can insert into your document and may contain plain text, placeholders, shell code, macros, or regular expressions to transform text and various built-in and user-defined parameters. The Snippets plug-in allows multiple lines. The snippet tree includes not only snippets, but also macros. These macros don’t need to be saved as a file.

Snippets are very easy to use in EmEditor. To insert a snippet you need only type the assigned trigger string. Then a tooltip will appear; press TAB and the snippet will be auto-completed. You can view all of the available snippets by selecting the Snippets button on the Plug-ins toolbar. The default snippet tree includes pre-defined snippets, sorted into appropriate folders. Each one of these folders, and consequently the snippets within them, are associated with set configurations. To view these configurations next to the folder name, right click in the custom bar and under the view menu, select configurations. You can adjust the properties of the Snippets Plug-in by right-clicking the Snippets button on the Plug-ins toolbar and selecting Properties.

Types of Snippets:

Plain text – a word or phrase in plain text

Placeholders – Placeholders are pieces of code with blank spaces for inserting variables or parameters. After the snippet is inserted, the cursor will jump between the different placeholders, allowing you to enter the applicable values.

Mirrors – Mirrors are a specific type of placeholder for when you have multiple variables of the same value. Entering the value for the first placeholder will also enter the same value in the mirrored placeholders.

Shell Codes – Shell Codes run a console application and then pass strings to its standard input. The standard output, as well as the standard error, from the console application is redirected to the cursor position of your text document.

Macros – Use Macros with Snippets for easy access to frequent actions and other macro functions.

← Search Plug-in How to Use Zen Coding →

  • Text Editing
    • Batch Replace
    • Binary Editing
    • Bracket/Quotation Mark Auto-Complete
    • Clipboard History
    • Compare Documents
    • EditorConfig Support
    • Filter Bar
    • Find and Replace
    • Format Selection
    • Fuzzy Matching
    • Language Server Protocol Support
    • Multiple Selection Editing
      • How to use Vertical Editing
    • Number Range Expression for Find and Replace
    • Regular Expressions
    • Syntax Checker for HTML, CSS, JSON, XML
    • Syntax Highlighting
  • Powerful CSV Tools
    • Autofill
    • Combine Lines
    • Combine/Split Columns
    • CSV Converter
    • Custom CSV formats
    • Delete Duplicate Lines
    • Extract Columns
    • Extract Frequent Strings
    • Flash Fill
    • Freeze header
    • Insert lines/columns
    • Join CSV
    • Manage Columns
    • Numbering
    • Pivot table
    • Sort
    • Transpose
  • Large File Support
    • Fast Processing of Large Files
    • Large File Controller
    • Large Files up to 16 TB
    • Lightweight, multithreaded design
    • Split and Combine Files
  • User Experience
    • Configurations
    • Customizable Interface
    • Customizable toolbars
    • Document Groups
    • International language and locale support
    • Markers
    • Quick Launch
    • Split window
    • Start Window
    • Tabbed Design
    • Workspace Memory
  • Extensibility
    • AI Assisted Writing
    • AI Toolbar
    • Chat with AI
    • External Tools
    • Plug-ins
      • CommitList Plug-in
      • Explorer Plug-in
      • HTML Bar Plug-in
      • Open Documents Plug-in
      • Projects Plug-in
      • Search Plug-in
      • Snippets Plug-in
        • How to Use Zen Coding
      • Web Preview Plug-in
      • Word Complete Plug-in
      • Word Count Plug-in
    • Scriptable Macros
  • More Features
    • Base64
    • Bookmarks
    • Character Check
    • Character Code Value
    • Customer support
    • Drag and Drop
    • Error Handler and Crash Recovery
    • Fast 64-bit Build
    • Full Screen View
    • Grab Text
    • Half-width/Full-width conversion
    • HTML Character References
    • Jump
    • Markdown Editor
    • Marks
    • Matching Tag Highlight
    • Messaging (plug-in)
    • MIME Encoded-Word
    • Multiple File Encoding Conversions
    • Narrowing
    • Offline Registration
    • Outline
    • Percent-encoding
    • Pin to List
    • Portability Options
    • Privacy-first
    • Quick Start
    • Save to Protected Folder
    • Spellcheck
    • Status Window
    • Tooltip to show HTML/XML character references
    • Unicode Normalization
    • Unicode Support
    • Universal Character Name
    • Uppercase/Lowercase conversion
    • Wildcard Support
    • Windows 11/10 Compatibility
    • CSV
  • History
    • New in Version 26.2
    • New in Version 26.1
    • New in Version 26.0
    • New in Version 25.4
    • New in Version 25.3
    • New in Version 25.2
    • New in Version 25.1
    • New in Version 25.0
    • New in Version 24.5
    • New in Version 24.4
    • New in Version 24.3
    • New in Version 24.2
    • New in Version 24.1
    • New in Version 24.0
    • New in Version 23.1
    • New in Version 23.0
    • New in Version 22.5
    • New in Version 22.4
    • New in Version 22.3
    • New in Version 22.2
    • New in Version 22.1
    • New in Version 22.0
    • New in Version 21.9
    • New in Version 21.8
    • New in Version 21.7
    • New in Version 21.6
    • New in Version 21.5
    • New in Version 21.4
    • New in Version 21.3
    • New in Version 21.2
    • New in Version 21.1
    • New in Version 21.0
    • New in Version 20.9
    • New in Version 20.8
    • New in Version 20.7
    • New in Version 20.6
    • New in Version 20.5
    • New in Version 20.4
    • New in Version 20.3
    • New in Version 20.2
    • New in Version 20.1
    • New in Version 20.0
    • New in Version 19.9
    • New in Version 19.8
    • New in Version 19.7
    • New in Version 19.6
    • New in Version 19.5
    • New in Version 19.4
    • New in Version 19.3
    • New in Version 19.2
    • New in Version 19.1
    • New in Version 19.0
    • New in Version 18.9
    • New in Version 18.8
    • New in Version 18.7
    • New in Version 18.6
    • New in Version 18.5
    • New in Version 18.4
    • New in Version 18.3
    • New in Version 18.2
    • New in Version 18.1
    • New in Version 18.0
    • New in Version 17.9
    • New in Version 17.8
    • New in Version 17.7
    • New in Version 17.6
    • New in Version 17.5
    • New in Version 17.4
    • New in Version 17.3
    • New in Version 17.2
    • New in Version 17.1
    • New in Version 17.0
    • New in Version 16.9
    • New in Version 16.8
    • New in Version 16.7
    • New in Version 16.6
    • New in Version 16.5
    • New in Version 16.4
    • New in Version 16.3
    • New in Version 16.2
    • New in Version 16.1
    • New in Version 16.0
    • New in Version 15.9
    • New in Version 15.8
    • New in Version 15.7
    • New in Version 15.6
    • New in Version 15.5
    • New in Version 15.4
    • New in Version 15.3
    • New in Version 15.2
    • New in Version 15.1
    • New in Version 15.0
    • New in Version 14.9
    • New in Version 14.8
    • New in Version 14.7
    • New in Version 14.6
    • New in Version 14
    • New in Version 13
    • New in Version 12
    • New in Version 11
    • New in Version 10
    • New in Version 9
    • New in Version 8
    • New in Version 7
    • New in Version 6
    • New in Version 5
    • New in Version 4
    • Basic Features
  • EmEditor Free
  • Compare Desktop Installer (MSI), Desktop Portable, and Old Store App (UWP) Versions

Download and try the “world's fastest text editor” now. (Source: ZDNet)

Download Download Free Download

Copyright © 1995-2026 by Emurasoft, Inc.
Download | Buy | Features | Blog | Support | About | Privacy Policy
日本語 | Deutsch | 한국어 |简体中文 | 繁體中文

Scroll to top Scroll to top Scroll to top