-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
In my global vscode setup I have "files.autoSave": "afterDelay", I also have
"[elm]": {
"editor.formatOnSave": true
},
and "editor.formatOnSave": true,
If I change a file and save it manually then elm-format runs, if I change a file and leave it to auotsave then elm-format does not run although the file is saved
I have stripped by settings.json right back so I only have to two settings (formatOnSave and files.autoSave)
Expected Behavior
elm-format should run on auto-save
Current Behavior
elm-format does not run on auto-save, on any of the settings ("afterDelay", "onFocusChange", "onWIndowChange")
Possible Solution
Steps to Reproduce (for bugs)
- Add "files.autoSave": "afterDelay" to your settings.json
- Add "editor.formatOnSave": true, to your settings.json
- Change an elm file, it will save but not format
Context
Your Environment
- Version used: 2.6.0
- VSCode 1.74.2:
- node.js v19.3.0:
- Operating System and version: Mac OSX Ventura 13.1
laurensdc
Metadata
Metadata
Assignees
Labels
No labels