A Sublime Text plugin that highlights trailing spaces and provides flexible deletion options.
Trailing Spaces is a plugin for Sublime Text that detects and removes unnecessary whitespace characters at the end of lines in text files. It solves the problem of invisible trailing spaces, which can cause inconsistencies in codebases, trigger unnecessary changes in version control, and violate style guides.
Developers and technical writers who use Sublime Text and want to maintain clean, consistent file formatting without manual effort.
It provides more flexibility and control than Sublime Text's built-in trim feature, with real-time highlighting, customizable deletion rules, and performance options tailored for power users.
Highlight trailing spaces and delete them in a flash.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Highlights trailing spaces live as you edit with customizable colors via the 'highlight_color' setting, making formatting issues immediately visible without saving.
Supports deletion via keyboard shortcut, menu command, or automatically on save with options like 'trim_on_save' and 'save_after_trim', offering more control than Sublime Text's built-in feature.
Allows ignoring current lines, empty lines, or modified lines only, and can exclude specific syntax scopes through 'scope_ignore', enabling precise adaptation to different file types and workflows.
Includes options to disable live matching for large files or reduce overhead with a 'file_max_size' threshold, preventing slowdowns in extensive documents as noted in the README.
Exclusively designed for Sublime Text, so it cannot be used in other editors or integrated into broader toolchains without additional plugins or manual scripting.
Requires manual editing of JSON files for settings and key bindings, which can be cumbersome and error-prone for users accustomed to graphical configuration interfaces.
Live matching can cause slowness in large files, forcing users to disable features or set size limits, as admitted in the 'disabled for large files' section, reducing real-time utility.