Diagnostic data
-
Python version (& distribution (if applicable), such as Anaconda): 3.12.3
-
The type of virtual environment used (such as conda, venv, virtualenv, etc.): venv
-
Operating system (and version): macOS Ventura 13.6.7
-
Expanded version of the tool you are using: v2024.3.12071014 (pre-release)
When "File: Auto Save" is set to "afterDelay" in VSC, it cannot be formatted. If it is set to another option or saves manually, there is no problem. After checking the log of the black formatter, there are only some prompts. I want to know how to make it work when it is set to delay saving.
This is my configuration.
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave":true
},
Diagnostic data
Python version (& distribution (if applicable), such as Anaconda): 3.12.3
The type of virtual environment used (such as conda, venv, virtualenv, etc.): venv
Operating system (and version): macOS Ventura 13.6.7
Expanded version of the tool you are using: v2024.3.12071014 (pre-release)
When "File: Auto Save" is set to "afterDelay" in VSC, it cannot be formatted. If it is set to another option or saves manually, there is no problem. After checking the log of the black formatter, there are only some prompts. I want to know how to make it work when it is set to delay saving.
This is my configuration.