I noticed when I enable vs code autosave feature, prettier doesn't work. Do I need extra configuration?
Do you mean formatOnSave?
yes formatOnSave
Does it work if you call Format Document ?
Does it take time? ~ 1sec
I have the same problem, and it works when calling format Document
@CiGit If I do format_document makes it work. but then I don't want the extra keys. What I've done now is to change from afterDelay to onFocusChange for my files.autosave setting, and it works.
Documentation for formatOnSave:
// Format a file on save. A formatter must be available, the file must not be auto-saved, and editor must not be shutting down.
"editor.formatOnSave": false,
The file must not be auto-saved for the important part here.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
@CiGit If I do format_document makes it work. but then I don't want the extra keys. What I've done now is to change from afterDelay to onFocusChange for my
files.autosavesetting, and it works.