Skip to content

editor.formatOnSave prevents onWillSaveTextDocument from firing #42013

@jednano

Description

@jednano
  • VSCode Version: 1.19.2
  • OS Version: Windows 10 Pro

Steps to Reproduce:

  1. "editor.formatOnSave": true
  2. Open a file that has no formatting (e.g., README.md).
  3. Modify the file.
  4. Hit save. onWillSaveTextDocument is never hit.

@jrieken, you might be interested in this!

See also: editorconfig/editorconfig-vscode#183

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions