Closed bagustris closed 5 months ago
The extension does not support using—in-place
. This is by design. This is to support formatting unsaved files and notebook cells. if you want to format on save, the content is not on disk yet. The content is in memory. We use autopep8
formatting over stdin
to achieve this.
@karthiknadig
OK, I confirmed it works if I deleted --in-place
but only if these args are located outside [python].
It won't work if these args are located inside [python]
.
I tested it works with autopep8 command line but failed with this extension.
Steps to reproduce,
Setting in settings.json
So I assume that the problem is with this vscode extension and not the original autopep8 and report the problem here.
When I hover in the argument parts, it says: This setting cannot be applied because it is not registered as language override setting.