You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from utils.python_utils import (CaseInsensitiveDict, CaseInsensitiveKey, CaseInsensitiveSet,
UpperLowerBound)
Press save
Result
You will either get this (duplicated and destroyed code):
from utils.python_utils import (CaseInsensitiveDict, CaseInsensitiveKey,
CaseInsensitiveSet, UpperLowerBound)
UpperLowerBound)
or that:
from utils.python_utils import (CaseInsensitiveDict, CaseInsensitiveKey,
CaseInsensitiveSet, UpperLowerBound)
Expected Result
Nothing changes.
No imports need to be sorted. Everything is sorted.
The import was already formatted correctly.
This is really bad. If this happens the first time, saving a second time will be very destructive to your code. It will start duplicating and deleting other lines in your file.
Environment:
VSCode Version: 1.41.1
OS Version: Windows 10 (build 1909)
The text was updated successfully, but these errors were encountered:
This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Two issues:
Steps to Reproduce:
Result
You will either get this (duplicated and destroyed code):
or that:
Expected Result
Nothing changes.
No imports need to be sorted. Everything is sorted.
The import was already formatted correctly.
This is really bad. If this happens the first time, saving a second time will be very destructive to your code. It will start duplicating and deleting other lines in your file.
Environment:
The text was updated successfully, but these errors were encountered: