All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
prettier-diff-timeout-seconds
customization optionprettier-diff-edit-cost
customization option- Support for Prettier 3
- Optimize edits
- Upgrade dependencies
- Use
editorconfig
package for syncingtabWidth
,useTabs
andprintWidth
settings
- Don't deactivate region on format
- Handle Prettier endOfLine setting
1.3.0 - 2022-06-01
- Add
prettier-prettify-on-save-flag
. (#98) - Base Docker environment for testing TRAMP. (#84)
- Cache config for buffers without file. (#100)
- New function
prettier-prettify-org-src-code-at-point
1.2.0 - 2022-05-24
- Test cases for
ruby
andphp
plugins - Restart Prettier on load
- Improve caching of Prettier options.
- Use
format
, notformatWithCursor
. - Batch Prettier changes for improved performance.
- Ignore stray stdout and stderr output from Node process.
- Don't ignore
.prettierignore
(#67) - Svelte sub-mode handling (#88)
- Enable
json5
andjson-stringify
parsers by default
1.1.0 - 2021-01-26
- Support for
prettier-plugin-sh
. meriyah
,espree
, andbabel-ts
parsers.
- Documentation improvements.
- Restore buffer settings when leaving mode.
- Don't sync settings when prettier options are null.
- Add missing dependency on package package. (#58)
- Add missing
defvar prettier-parser-history
. (#59) - Fix byte-compile warnings and bug when using helm.
- Don't override parser set explicitly. (#57)
- Fix modeline display for parser override.
cursorOffset
is zero-based, not one-based. (#62)- Suppress
console.warn
output. (#64) lsp-mode
andmmm-mode
parser detection issues.- Prettier detection in yarn workspaces with PnP.
- Ignore errors in
lsp-buffer-language
. (#49)
1.0.0 - 2020-07-04
- Documentation improvements.
- Cleanup and minor refactoring.
- Release to MELPA.
0.9.0 - 2020-06-22
- Support for more major modes (via plug-ins): elm, java, pug, solidity, svelte, toml, xml.
- Continuous deployment, enables installing via Melpa and Quelpa.
- Move Changelog into CHANGELOG.md.
- Dev workflow improvements.
- Documentation improvements.
0.8.1 - 2020-05-27
- Fix customization errors (#10).
0.8.0 - 2020-05-19
- Support Yarn Plug'n'Play (#3).
- Add Typescript detection.
- Add support for ANSI escape codes in Prettier error output.
- Setup Continuous Integration.
- Drop support for Emacs <26.1.
- Fix linting issues and add some test cases.
- Fix handling of files containing Unicode surrogate pairs.
0.7.0 - 2019-08-31
- Switch from cl to cl-lib.
- Minor documentation improvements.
0.6.3 - 2019-02-24
- Don't choke on buffers not backed by file.
0.6.2 - 2019-02-24
- Fix initial and HTML parser detection.
0.6.1 - 2019-02-19
- Fix web-mode parser detection for empty buffers.
0.6.0 - 2019-02-19
- Improved parser detection:
- Use json-stringify for package.json and such.
- Use babel-flow when flow-minor-mode is active.
0.5.1 - 2019-02-19
- Fix web-mode parser detection.
0.5.0 - 2019-02-19
- Compatibility with Prettier 1.16:
- New parsers.
- Ignore unsupported parsers.
- Show parser and version in modeline.
- Use editorconfig setting when syncing options.
0.4.1 - 2018-11-28
- Fix error column with indent-tabs-mode.
0.4.0 - 2018-11-28
- 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.
0.3.0 - 2018-11-14
- 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.
0.2.3 - 2018-11-13
- Fix error in buffers without file name.
0.2.2 - 2018-11-13
- When point is point-max, keep it there.
0.2.1 - 2018-11-10
- Reinstate web-mode parser detection.
- Ignore NaN result cursorOffset.
0.2.0 - 2018-11-10
- Allow ignoring certain files for prettier-mode.
- Temporarily use locally built pandoc, improves info formatting.
- Remove dead code that was causing a crash sometimes.