We've had a number of bugs & fixes related to auto-indentation. We need to ensure we do not regress. Create unit tests for the following rules: ```js languages.setLanguageConfiguration(PYTHON.language!, { onEnterRules: [ { beforeText: /^\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async)\b.*/, action: { indentAction: IndentAction.Indent } }, { beforeText: /^\s*#.*/, afterText: /.+$/, action: { indentAction: IndentAction.None, appendText: '# ' } }, { beforeText: /^\s+(continue|break|return)\b.*/, afterText: /\s+$/, action: { indentAction: IndentAction.Outdent } } ] }); ```
Activity
DonJayamanne commentedon Apr 24, 2018
Another issue #1461 that would need to be tested.
Update interpreter display (#3)
luabud commentedon Sep 11, 2019
Don Jayamanne (@DonJayamanne) can we consider the cases in the description as fixed ? (#6939)
DonJayamanne commentedon Sep 11, 2019
Not until, we have UI tests for this.
karrtikr commentedon Dec 20, 2022
This is now supported by Pylance so closing this.