prettier.el

Prettier code formatting for Emacs.

GPL-3.0 License

Stars
164

Bot releases are visible (Hide)

prettier.el - v1.3.0 Latest Release

Published by github-actions[bot] over 2 years ago

See CHANGELOG.md

prettier.el - v1.1.0

Published by github-actions[bot] over 3 years ago

See CHANGELOG.md

prettier.el - v1.0.0

Published by github-actions[bot] over 4 years ago

See CHANGELOG.md

prettier.el - v0.9.0

Published by github-actions[bot] over 4 years ago

See CHANGELOG.md

prettier.el - v0.8.1

Published by jscheid over 4 years ago

  • Fix customization errors (#10)
prettier.el - v0.8.0

Published by jscheid over 4 years ago

  • Support Yarn Plug'n'Play (#3)
  • Fix handling of files containing Unicode surrogate pairs
  • Add Typescript detection
  • Add support for ANSI escape codes in Prettier error output
  • Fix linting issues and add some test cases
  • Drop support for Emacs <26.1
  • Setup Continuous Integration
prettier.el - v0.7.0

Published by jscheid about 5 years ago

  • Switch from cl to cl-lib
  • Minor documentation improvements
prettier.el - v0.6.3

Published by jscheid over 5 years ago

Don't choke on buffers not backed by file

prettier.el - v0.6.2

Published by jscheid over 5 years ago

Fix initial and HTML parser detection

prettier.el - v0.6.1

Published by jscheid over 5 years ago

Fix web-mode parser detection for empty buffers

prettier.el - v0.6.0

Published by jscheid over 5 years ago

Improved parser detection

  • Use json-stringify for package.json and such
  • Use babel-flow when flow-minor-mode is active
prettier.el - v0.5.1

Published by jscheid over 5 years ago

Fix web-mode parser detection

prettier.el - v0.5.0

Published by jscheid over 5 years ago

Compatibility with Prettier 1.16

  • New parsers
  • Ignore unsupported parsers
  • Show parser and version in modeline
  • Use editorconfig setting when syncing options
prettier.el - v0.4.1

Published by jscheid almost 6 years ago

  • Fix error column with indent-tabs-mode
prettier.el - v0.4.0

Published by jscheid almost 6 years ago

  • Improvements for large input files
    • Use diff-match-patch instead of fast-diff, limiting the maximum amount of time spent diffing
    • Handle quit during long-running prettification gracefully
    • Roll back partially applied diffs
    • Don't accumulate diff patches in memory, instead apply them immediately
  • Disable undo list in process buffer
prettier.el - v0.3.0

Published by jscheid almost 6 years ago

  • Fix bugs when handling buffers not backed by a file, and buffers for which the parser can't be derived from the major mode.
  • Don't abstain from auto-enabling prettier-mode in buffers not backed by a file, as long as the major mode is supported.
prettier.el - v0.2.3

Published by jscheid almost 6 years ago

  • Fix error in buffers without file name
prettier.el - v0.2.2

Published by jscheid almost 6 years ago

  • When point is point-max, keep it there
prettier.el - v0.2.1

Published by jscheid almost 6 years ago

  • Ignore NaN result cursorOffset
  • Reinstate web-mode parser detection
prettier.el - v0.2.0

Published by jscheid almost 6 years ago

  • Remove dead code that was causing a crash sometimes
  • Allow ignoring certain file for prettier-mode
  • Temporarily use locally built pandoc, improves info formatting