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
I see... right now it will unindent two spaces after the : is typed. That ends up working, but it'd be better if the indent was +2 from the beginning. It does appear that it's technically possible to put other statements before the initial label, but that is not actually useful for anything, so the statements between labels will always be +4 and the labels will be +2.
It's hard to know, in the indentation code, whether we are at the start of the block or after some label, and as you noticed, it'll correct itself anyway when you type a label, so I'd argue this isn't a huge problem and doesn't warrant extra kludges. Was also not part of the initial requirements.
when pressing enter after the line with
switch
on it, the indent should be +2The text was updated successfully, but these errors were encountered: