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
{{ message }}
Repository navigation
Bad auto indent of line to previous code block when pasting at the beginning of the line #6927
If a line is below a code block (if, for, trydef etc) but not part of the code block and you paste something where the selection start is at the beginning of the line, the line will auto indent to be a part of the code block. This does not occur if the code block ends with return, break, continue etc.
There are also severl other issues on indentation:
pressing enter on an empty line jumps to the indentation level of the last line, but should at the same as where the cursor had been
Pasting code to the wrong indentation all the time
...
I had to switch back to the old version of the Python extension. I spend more time to fix wrong intendation (which causes bugs, I am sure you are aware of this!) than on coding the last days.
At the moment, this is the only other open issue Unexpected indentation behavior after latest update #6886. Does the team want an exhaustive list of all indentation bugs with new issues or to collect them all in #6886 or just wait for a new update to test?
As you mentioned some indentation bugs are already reported in #6886 , so for now we will roll back these changes, and will let you know once it's out there so you can use the latest update.
We're going to push a hot fix for this soon, but if anyone would like to try it out ahead of time, you can use the Insiders build (here or by opting-in the Insiders program as a daily basis, more details about it in the blog post)
Activity
ascheucher commentedon Aug 12, 2019
I made the expirience of even modified indentation level of code blocks following the copied in block.
ascheucher commentedon Aug 12, 2019
There are also severl other issues on indentation:
I had to switch back to the old version of the Python extension. I spend more time to fix wrong intendation (which causes bugs, I am sure you are aware of this!) than on coding the last days.
WhistleWhileYouWork commentedon Aug 12, 2019
At the moment, this is the only other open issue Unexpected indentation behavior after latest update #6886. Does the team want an exhaustive list of all indentation bugs with new issues or to collect them all in #6886 or just wait for a new update to test?
kimadeline commentedon Aug 12, 2019
Hi WhistleWhileYouWork and Andreas Scheucher (@ascheucher) , thank you for reporting this issue.
As you mentioned some indentation bugs are already reported in #6886 , so for now we will roll back these changes, and will let you know once it's out there so you can use the latest update.
ericsnowcurrently commentedon Aug 13, 2019
I was able to verify that the example from WhistleWhileYouWork works now (on both Linux and Windows).
luabud commentedon Aug 13, 2019
We're going to push a hot fix for this soon, but if anyone would like to try it out ahead of time, you can use the Insiders build (here or by opting-in the Insiders program as a daily basis, more details about it in the blog post)