Open
Description
Steps to reproduce:
- Set indent to anything different then 4 spaces
- Write any code which sorcery suggests a refactoring, which spreads over multiple lines.
For example:
def foo():
a = []
for i in range(10):
a.append(f"a very long string to force a newline {i} yes this is very long")
- Accept the refactoring.
Expected:
The refactoring uses user configured indentation.
Behavior:
The refactoring always uses four spaces for indentation.
This is especially bad, if the user uses tabs for indentations since unless fixed by the user this will cause an error.