Author Topic: File extension isn't automatic  (Read 116164 times)

Offline Kosame

  • Single posting newcomer
  • *
  • Posts: 1
File extension isn't automatic
« 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 ?

Offline brianallen

  • Single posting newcomer
  • *
  • Posts: 1
    • wheelie life
Re: File extension isn't automatic
« Reply #1 on: Today at 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.