User forums > General (but related to Code::Blocks)
Can not create source file.
(1/1)
Crux:
I want to add a source file but every time I try to do so it ends up in the folder called "Others". Any suggestions to what I could be doing wrong?
oBFusCATed:
What source file (the extension)?
Crux:
.cpp
The strange thing is that I managed to do it yesterday in the exact same way. But today I added a blank file in the Others folder and now it is placing all new files I create in that folder.
Jenna:
You might have accidently deleted the appropriate extensions from the filetypes list.
To check this, right-click on your project (in the management pane), choose "Project tree -> Edit file types & categories" and check the content of the category "Sources".
The easiest way to fix this would be to remove the default.conf file from ~/.codeblocks on linux or %APPDATA%\codeblocks on windows.
Navigation
[0] Message Index
Go to full version