All notable changes to the "prettier-vscode" extension will be documented in this file.
- Added App Insights telemetry to track feature usage.
- Deprecated support for ESLint, TSLint, and Stylelint. See documentation
- Fixed issue where error output was used before inialized (#918)
- Localization support for
zh-cn
andzh-tw
- Fixed issue where text-fixtures were bundled in the extension.
- Prettier 1.18
- Docs now explain how to lint TypeScript code with ESLint.
- Improve supported language resolution with local Prettier instances
- Prettier Plugin Support
- prettier-eslint 9.0.0
- Prettier 1.17
- New setting
quoteProps
. (prettier 1.17)
- Prettier 1.16
- prettier-tslint 0.4.2
- Validate the
"prettier"
key inpackage.json
using the prettier settings schema - Prettier 1.15
- New options: jsxSingleQuote, htmlWhitespaceSensitivity and endOfLine (More info in readme).
- disableLanguages only in User / Workspace settings (no more in folder settings).It allows to register formatters for every supported language.
- Prettier 1.14
- New option: tslintIntegration (boolean) use
prettier-tslint
instead ofprettier
- Revert notification popup: remove it.
- fix parser inference
- prettier 1.13.4
- prettier-stylelint 0.4.2
- Improve prettier resolution algorithm for monorepos
- [email protected]
vue
is now disabled by default. Opt-in by removingvue
from disableLanguages setting
- [email protected] revert previous update
- Disabling a language
disableLanguages
now allows to use an other formatter. NOT when disabling in a sub workspace folder (noop) - Prettier 1.10,
vue
jsonc
postcss
support.
- Prettier 1.9
- New option: requireConfig (boolean) Format only files which have a prettier config (.prettierrc, ...)
- Don't merge editor's options into prettier config
- Multi-root support.
- Removed all
*Enable
settings, these are now inferred from Prettier itself. Use scopededitor.formatOnSave
to disable formatting some languages on save. (See README) - Markdown support
- Prettier 1.8.2
- new setting, ignorePath. Ignore files.
- Eslint now also runs on TypeScript files.
- new setting, stylelintIntegration. prettier + stylelint.
- Prettier 1.7
- Prettier 1.6.1
- Read configuration from files.
- Prettier 1.6
- Changed Status bar: hide/show depending on active editor.
- Fix local resolution.
- Reworked error messages. They are now in a dedicated output channel.
- Prettier 1.5
- Added JSON and GraphQL formatting (Range formatting disabled)
- Disable range formatting with postcss parser (broken)
- Fix sass language id (sass -> scss)
- Update prettier to 1.4.4
- Update prettier-eslint to 6.3.0
- Option to select language ids prettier will run on.
- Prettier 1.4.2
- Prettier 1.4
- Now also formats CSS and TypeScript
- Format Selection highly improved.
- Bump dependencies.
jsx
language support in addition tojavascript
andjavascriptreact
.
- New setting eslintIntegration. Use
prettier-eslint
under the hood.
- Bundled with prettier 1.1.0
- New setting
useTabs
. (prettier 1.0) - New setting
semi
. (prettier 1.0)
- Local prettier has to be explicitely installed (dependencies or devDependencies)
- Resolve 'prettier' against formatted file. Nearest upward node_modules/prettier
- New setting
jsxBracketSameLine
. (prettier 0.17.0) - Changed
trailingComma
setting['none', 'es5', 'all']
(prettier 0.19.0)
- Removed
Prettier
action. - Use vscode actions
Format Document
andFormat Selection
. - Removed
prettier.formatOnSave
setting in favor of the more general settingeditor.formatOnSave
- Deprecated
useFlowParser
setting. Introducedparser
setting. (Since prettier 0.0.10)
- Initial release