Code::Blocks Forums

User forums => Help => Topic started by: Kosame on September 30, 2026, 04:11:20 pm

Title: File extension isn't automatic
Post by: Kosame on September 30, 2026, 04:11:20 pm
Hello, I use TuxedoOS, I installed codeblocks via apt and when ever I wanna create a file, the extension isn't set automatically, I have to type it manually, how to fix this issue ?
Title: Re: File extension isn't automatic
Post by: brianallen on November 21, 2026, 05:22:13 am
Hi, this might be related to the file templates or default settings in Code::Blocks. When creating a new file, make sure you're selecting the correct file type (C/C++ source or header) rather than a generic empty file. Code::Blocks normally adds the extension automatically when you use the appropriate template. Also, check whether the issue happens with all file types or just .cpp files. That would help narrow it down.