Environment
- OS and Version: Fedora Linux 43 (Workstation Edition Prerelease) x86_64
- VS Code Version: 1.105.0-insider
- C/C++ Extension Version: 1.28.0
- If using SSH remote, specify OS of remote machine: N/A
Bug Summary and Steps to Reproduce
Bug Summary:
In C/C++, creating an if/for/while without curly braces results in no further indentation.
Steps to reproduce:
- Open a directory and trust it
- Open a
hello.c file
- Create an if statement
- Press enter
Expected behavior:
Further indentation.
Configuration and Logs
Other Extensions
Only the C/C++ extension pack on a newly installed code-insiders.
Additional context
#include <stdio.h>
int main()
{
if (1)
puts("Test");
}