I am using VSCode since a couple years and have recently changed computers. After installing VSCode, I came upon this issue: lets say I have a list like this: int_list = [ 1, 2, 3, 4, ] and now I want to split the numbers into multiple lines after the commas. Since I want to avoid trailing whitespaces, I place the cursor right after the comma before the whitespace. Before, the behaviour was that the whitespace to the right of the cursor got removed and everything was properly indented: int_list = [ 1, 2, 3, 4, ] After reinstalling, it adds an extra whitespace instead: int_list = [ 1, 2, 3, 4, ] I also noticed that this adds the same amount of whitespaces that are behind the cursor to the new line. Meaning if there are three spaces, it adds three extra spaces afterwards: int_list = [ 1, 2, 3, 4, ] becomes int_list = [ 1, 2, 3, 4, ] This would not be that big of an issue on its own but the same happens for dicts, tuples, function descriptions, function arguments, basically in every place that commas are used. It seems to me that somewhere there was a mess up and a - was switched to a + or something similar, but i have not found any mention of this elsewhere. I am running VSCode 1.97.2, with the Extensions Python, Python Debugger and Pylance active. When i disable the extensions, the issue does not occur, but there is also no Syntax highlighting nor any other typing assistance (Edit: without the extensions the extra space doesn't get removed either). When switching systems I switched from Win10 to Win11. Any advice would be appreciated. I tried installing older versions of extensions, disabling all my other extensions, searching extension githubs for open issues, restarting extensions, checking settings for Format On Type (No change with it active / inactive), different tab/space sizes. Continue reading...