A Sublime Text plugin that formats JavaScript and JSON files using jsbeautifier.
JsFormat is a Sublime Text plugin that automatically formats JavaScript and JSON code using the jsbeautifier library. It helps developers enforce consistent coding styles, improve readability, and streamline their editing workflow directly within the editor.
JavaScript and JSON developers who use Sublime Text as their primary code editor and want built-in, configurable formatting capabilities.
Developers choose JsFormat for its deep integration with Sublime Text, extensive customization via jsbeautifier settings, and features like project-specific .jsbeautifyrc files and cursor preservation after formatting.
Javascript formatting for Sublime Text 2 & 3
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Seamlessly integrates with Sublime Text 2 and 3, allowing formatting via default key bindings (ctrl+alt+f) or the command palette without leaving the editor.
Exposes all jsbeautifier settings for fine-grained control over whitespace, brace styles, and indentation, customizable through user settings or .jsbeautifyrc files.
Supports hierarchical .jsbeautifyrc JSON files, enabling teams to define and enforce formatting rules on a per-project or per-directory basis for consistency.
Keeps the cursor in the same logical position after formatting by accounting for whitespace changes, preventing disorientation and improving workflow efficiency.
The README states the project is seeking a new maintainer, indicating potential stagnation, lack of updates for new Sublime Text versions, and unresolved bugs.
Past changes have removed settings like 'ensure_space_before_linestarters', and key binding conflicts are acknowledged without a clean solution, leading to user frustration.
Relies on the jsbeautifier library, which may not support the latest JavaScript syntax as well as modern alternatives like Prettier, limiting its relevance.