Open
Description
Does this issue occur when all extensions are disabled?: Yes
NOTE: When all extensions are disabled, there is no correct indentation after a multi-line comment block. But the C/C++ Extension pack appears to allow the first line after a multi-line comment block to be indented correctly.
- VS Code Version: 1.97.2
- OS Version: Windows_NT x64 10.0.26100
I noticed this issue when attempting to copy and paste the contents from one file to another. I believe this is specifically tied to the multi-line comment block.
Steps to Reproduce:
- Start a new file
- Set language to C
- Create a multi-line comment block
- Place cursor at the end of the final line of the comment block
- Create a new line, observe indentation returns to column 1
- Create a new line, observe the indentation advances to column 2
new.line.indent.bug.mp4
- Paste any content below the comment block and observe the indentation advance to column 2
new.line.paste.bug.mp4
- Paste an entire file that begins with this style of comment block and observe the indentation advance to column 1