Bug 62889

Summary: "File Groups" are not regenerated when there are new files
Product: [Applications] kdevelop Reporter: Robert Jonsson <rj>
Component: file groupsAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.0.0a5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Robert Jonsson 2003-08-18 16:31:06 UTC
Version:           3.0.0a5 (using KDE 3.1.3)
Compiler:          gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-0.7mdk)
OS:          Linux (i686) release 2.4.21-0.13mdk

The "file groups" tab in the left pane doesn't regenerate it's contents in the event that there is a new file.

I had added a file to the project, then gideon crashed. When restarted the file was not available in the list.

And I can't get it back in there short of editing the file that contains this list ;)

Thinking about it, this may be an issue that affects a bigger picture... should gideon have a dedicated list of project files, or should it take everything that is available under the project part (as e.g. Idea does), I like the latter.

I'm not entirely sure how gideon handles this, I think I see evidence of both. Is there a definitive way it should be done i gideon?
Comment 1 Amilcar do Carmo Lucas 2003-08-18 17:01:42 UTC
Yes it does regenetate but the file must be in the project.

Which project mananger do you use? Automake manager ? QMake manager??
Try using the project manager interface to add a file to the project and then it
will work just fine.

> should gideon have a dedicated list of project files?
No it doesn't and it shouldn't. Gigeon uses:
- the Makefile.am files in Automake manager
- the .pro files in QMake manager
- some .xml file in ant project
- ... etc

Comment 2 Amilcar do Carmo Lucas 2003-11-01 18:58:43 UTC
I added an option to show non project files to the RMB of the file groups.
If this is activated all files are shown.
It it's deactivated only project files are shown