ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Auto​Tag​Mate

by baslie ALL

A lightweight Sublime Text plugin that auto-wraps text in XML-style tags—ideal for AI prompt clarity, quick text wrapping, and auto-completion.

Details

Installs

  • Total 71
  • Win 46
  • Mac 15
  • Linux 10
Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29
Windows 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0
Mac 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

AutoTagMate: Your Universal AI Prompt Structuring Tool

Want to level up your prompts for ChatGPT, Claude AI, or any other neural network-based system? AutoTagMate is a lightweight Sublime Text plugin that helps you quickly wrap text in XML-style tags—enhancing clarity and focus for your AI queries. Now works in ALL file types out of the box, making it perfect for any workflow.


Why It's Perfect for AI Work

  • Boost Prompt Clarity
    Clearly separate instruction sections, examples, or code snippets in your AI prompts by automatically wrapping text in tags—making it easier for the model to understand your intent.

  • Universal File Support
    Works in ALL file types by default—Python, HTML, Markdown, plain text, code files, and even unsaved documents without extensions.

  • Manual Control
    Use the hotkey (Ctrl+\ / Cmd+\) to instantly wrap your text in a tag pair exactly when you need it—no automatic tag insertion interruptions.

  • No Configuration Required
    Works immediately after installation across all your files and projects.


Also Great for HTML & Code Wrapping

While AutoTagMate is ideal for structuring AI prompts, it's still a powerful companion for developers and content creators who need to wrap text in HTML tags, XML markup, or custom tags. Whether you're editing a website, writing documentation, or adding markup to any file type, AutoTagMate has you covered.


Key Features

  • Instant Tag Wrapping
    Automatically wraps a selected word or phrase in <tag></tag> with a single hotkey press.

  • Manual Operation Only
    Tags are created only when you press the hotkey—no automatic interruptions while typing.

  • Smart Cursor Positioning
    After wrapping text, the cursor is placed between the opening and closing tags for seamless editing.

  • Universal File Type Support
    Works in Python, HTML, Markdown, JavaScript, CSS, plain text, and any other file type—including unsaved files.

  • Conflict-Free Hotkey
    Default Ctrl+\ (Windows/Linux) or Cmd+\ (macOS) doesn't interfere with Sublime Text's built-in functionality.

  • Customizable Settings
    Full control over file type support and behavior through easy-to-use settings.


Installation

Via Package Control

  1. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  2. Choose Package Control: Install Package.
  3. Search for AutoTagMate and install it.

Manual Installation

  1. Download the repository or clone it.
  2. Place the files in your Sublime Text Packages/AutoTagMate directory.
  3. Restart Sublime Text.

Usage

Creating a Tag

  1. Type a word or phrase (e.g., Header or Main Content).
  2. Press the hotkey (Ctrl+\ / Cmd+\ by default).
  3. AutoTagMate wraps it: <Header></Header> or <Main Content></Main Content>.

Manual Tag Creation Only

  • AutoTagMate operates exclusively via hotkey activation—no automatic tag completion while typing.
  • This ensures full control over when tags are created and prevents interruptions during normal text editing.

Works Everywhere

  • Python files: Perfect for docstring structuring and comments
  • HTML/CSS: Quick tag creation and markup
  • Markdown: Enhanced structure for documentation
  • Plain text: AI prompt organization
  • Any file type: Universal text wrapping solution

Configuration

AutoTagMate settings are stored in the auto_tag_mate.sublime-settings file:

{
    "allow_all_files": true,
    "allowed_selectors": [],
    "allow_untitled": true
}
  • allow_all_files: If true (default), AutoTagMate works in all file types. Set to false to use selector-based filtering.
  • allowed_selectors: A list of CSS selectors that define specific file types where the plugin is active (only used when allow_all_files is false).
  • allow_untitled: If true, AutoTagMate works in unsaved (untitled) files as well.

Example Custom Configuration

To limit the plugin to only HTML and plain text files:

{
    "allow_all_files": false,
    "allowed_selectors": ["text.html", "text.plain"],
    "allow_untitled": true
}

Hotkeys

Default Assignment

  • Windows/Linux: Ctrl+\
  • macOS: Cmd+\

Changing the Hotkey

  1. Open Preferences → Key Bindings.
  2. In the user key bindings file (the right-hand side), add:

    [
        {
            "keys": ["ctrl+shift+t"],
            "command": "insert_auto_tag"
        }
    ]
    
  3. Save the file. Your new key binding will take effect immediately.


Additional Commands

  • Open Plugin Settings: Use AutoTagMate: Open Settings command in the Command Palette to easily access and modify plugin settings.

What's New in 1.0.7

  • Hotkey-Only Operation: Tag creation now occurs exclusively via hotkey activation—no automatic tag completion interruptions
  • Cleaner Workflow: Focus on manual control for precise tag placement when you need it
  • Simplified Codebase: Streamlined plugin architecture for better performance and reliability

Perfect for Modern Workflows

AutoTagMate is designed for the modern developer and content creator who works across multiple file types and needs quick, reliable text structuring with complete control. Whether you're:

  • Crafting detailed AI prompts with clear section markers
  • Quickly adding HTML tags to web content
  • Structuring documentation with custom markup
  • Adding XML-style tags to configuration files
  • Organizing code comments with structured tags

AutoTagMate provides the speed and precision you need across all your projects with full manual control.


Support and Contact

For questions, feature requests, or technical support, please visit roman-purtow.ru.


License

This project is licensed under the terms specified in the LICENSE file.