Version: 3.2.3 (using KDE KDE 3.4.3) Installed from: Compiled From Sources Compiler: gcc (GCC) 3.3.3 OS: Linux There doesn't seem to be a way of adding source files created outside kdevelop to a project. These files appear in the 'file tree', 'file selector' etc. but only have a 'remove from project' context menu, even though they are not in the project (is this a bug - should there be an 'add too project option'?) Ideally, I would like kdevelop to automatically add (and remove) files matching a pattern (src/*.cpp, include/*.h) to the project and the class browser. I am working on a project in which some developers are using other tools such as vim & MS Visual Studio, so I would like to see any changes they make. The project is 'custom make', c++ and under Clearcase.
Did you read the FAQ ?
I did, the most relavant section I could find was 'How to add existing files to a project?' As I'm using a custom make project, it just says copy the files into the src directory and edit the makefile, which I'm doing. However kdevelop still does not seem to 'know' about them unless they appear in [project].kdevelop.filelist so they are missing from the class list.
Right click on the file in the file tree part, and select "add file to project" there.
I had tried this but it appears to have no effect. Files in the project are shown in bold, but others stay in normal font and do not get added to .kdevelop.filelist
Fixed now in svn, so it will work in kde 3.5.1 Alex