Skip to content

Releases: victorporof/Sublime-HTMLPrettify

2.1.0

18 Jul 08:11
Compare
Choose a tag to compare
  • 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

2.0.9

16 Jul 06:27
Compare
Choose a tag to compare
  • Added issue templates
  • Now properly handling old node versions which result in SyntaxErrors with new code, and suggesting a way to fix this issue by updating node and setting the correct path in the plugin's settings: 4c49c15
  • Now actually properly handling Windows errors when node isn't found
  • Minor changes to the build system to avoid writing old version numbers into the built directory

2.0.6

14 Jul 15:51
Compare
Choose a tag to compare

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.

1.0

25 Jun 05:47
Compare
Choose a tag to compare
1.0

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