Closed TheWizardofGauze closed 10 months ago
@TheWizardofGauze I am not able to re-produce this locally. Please try Extension Bisect, to see if this is being triggered due to interference by some other extension:
@karthiknadig Bisect says ms-python.python is causing it... I guess I'll try and report it? I did some more testing and got similar behavior from autopep8.
@TheWizardofGauze Can you share a list of extensions you have? and your settings?
@karthiknadig Extensions:
Settings:
The rest of the settings are unmodified.
I was working on a file today and when I attempted to save a new command for my bot, the auto formatting kept messing up my code when I would save forcing me to disable auto formatting.
Here's an example. Before:
After:
It changes "bot" to "bobot" and actually will add another "bo" every time I hit save.
Another example I discovered while writing this. Before:
After:
And if I save again:
I'm using the latest version of black(v2023.6.0) and VSCode version 1.84.2.