onEnterRules should be multi-line aware #50952
Labels
editor-autoindent
Editor auto indentation issues
feature-request
Request for new features or functionality
languages-basic
Basic language support issues
Use case: microsoft/vscode-cpptools#2072
Steps to Reproduce:
Type the following text in a .cpp file
Then hit enter at the end of the line to begin a new line. You'll get
This is not expected behavior in this context. This is perhaps expected when in the middle of a multiline decorated comment but not otherwise.
This does not happen in an unsaved file, a file with no extension, .txt extension etc. and does not happen if the cpptools extension is disabled and happens when it is re-enabled.
The text was updated successfully, but these errors were encountered: