Sublime-HTMLPrettify

HTML, CSS, JavaScript, JSON, React/JSX and Vue code formatter for Sublime Text 2 and 3 via node.js

Stars
1.9K

Bot releases are hidden (Show)

Sublime-HTMLPrettify - 2.2.6 Latest Release

Published by victorporof almost 6 years ago

  • Updated jsbeautify to latest version
Sublime-HTMLPrettify - 2.2.5

Published by victorporof about 6 years ago

  • Added core-js as a dependency to fix runtime errors introduced by updating to babel 7.
Sublime-HTMLPrettify - 2.2.3

Published by victorporof about 6 years ago

  • Add support for old node 0.x.x versions via both transpilation and polyfills
Sublime-HTMLPrettify - 2.2.2

Published by victorporof about 6 years ago

  • Fixed a glob typo in the default eslint settings
Sublime-HTMLPrettify - 2.2.1

Published by victorporof about 6 years ago

  • Support for JSX is now enabled by default
Sublime-HTMLPrettify - 2.2.0

Published by victorporof about 6 years ago

  • Updated jsbeautify to latest version
  • Added default support for vue formatting
  • Supporting ~components in node-js paths
Sublime-HTMLPrettify - 2.1.4

Published by victorporof over 6 years ago

Fixed an error caused by promise API warnings with the latest version of node.

Sublime-HTMLPrettify - 2.1.3

Published by victorporof about 7 years ago

  • Fixed ‘[WinError 6] The handle is invalid‘ errors.
Sublime-HTMLPrettify - 2.1.2

Published by victorporof about 7 years ago

  • Consolidate file type verification and better support scratch buffers.
Sublime-HTMLPrettify - 2.1.1

Published by victorporof about 7 years ago

  • Gracefully handle malformed global_file_rules settings. Ignore html, css, js, and json files without a corresponding key existing in this object.
Sublime-HTMLPrettify - 2.1.0

Published by victorporof over 7 years ago

  • Removed issue templates since all they did was to increase noise.
  • Beg for detailed bug reports (please for the love of all that's holy, add some information in your bug reports)
  • Better handle improper config files and distinguish "unhandled errors" in the plugin from "parse failures" of .editorconfig and .jsbeautifyrc files
  • Handle all OS errors as potentially node.js not being found. The existing approach in the new v2.0 was trying to identify which OS errors were actually about node.js paths being improperly set, but it seems like this isn't enough for all users (e.g. chinese). Give up and treat unknown OS errors as also potentially being about node.js paths, which seems generally true
Sublime-HTMLPrettify - 2.0.9

Published by victorporof over 7 years ago

Sublime-HTMLPrettify - 2.0.6

Published by victorporof over 7 years ago

Release notes:

This new version features a complete rewrite, modernizing and consolidating the codebase. This will allow for faster iterations and new feature additions in the future.

New features have also been implemented:

  • Support for .editorconfig files
  • Many improvements to the .jsbeautifyrc format, including separate settings for js and json, "all" and "custom" categories for regex-based prettification rules.
  • Added additional prettifier options: eol, comma_first and operator_position.
  • Added the ability to ignore certain files using regexp.
  • Added the ability to automatically prettify while editing, opening files etc.
  • Switched to using JSON5 for parsing to avoid common errors in minimally marformed json.
  • Added the ability to use sublime's editor syntax by default for determining file type, instead of relying solely on file extensions.
  • Added the ability to use sublime's indentation settings instead of the ones in .jsbeautifyrc or .editorconfig files.
  • Added the ability to not use temporary files anymore for prettification, which can result in less IO overhead and potentially better performance.

In addition, the following issues have been fixed:

  • Node.js isn't in a perpetual "not found" state anymore whenever unrelated errors may occur. If errors do occur, it's much easier to file an issue on github about it.
  • User settings aren't lost when the plugin updates, as there's now a distinction between Sublime and User preference files.
Sublime-HTMLPrettify - 1.0

Published by victorporof over 7 years ago

No major issues in half a year means this is a stable release.