Bug 66879 - Need GUI indication that file is in project. ("Add File to Project" menu item should disappear. Maybe bold project files?)
Summary: Need GUI indication that file is in project. ("Add File to Project" menu item...
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Custom Makefiles (show other bugs)
Version: 3.0.0a7
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-30 00:55 UTC by Robert Shideleff
Modified: 2003-11-03 20:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Shideleff 2003-10-30 00:55:57 UTC
Version:           3.0.0a7 (using KDE 3.1.4)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
OS:          Linux (i686) release 2.6.0-test8

Looking through other bug reports I have found references to something called a 'File Tree' which apparently should appear in the left IDEAl mode tabs. However, this doesn't appear for me. I am only left with the file selector, which works. However, the file selector doesn't give me any hint which files are in the project and which ones aren't. Right clicking on any file shows a menu item to add the file to the project, when the file is already in the project. (Verifiable by looking at the project filelist text file.)

I have seen references to project files being displayed in bold in older versions of kdevelop. This does not seem to happen in my version.
Comment 1 Jens Dagerbo 2003-10-30 01:12:54 UTC
Have a look at Project Options -> Plugins. You should see a plugin there called "File Tree"
Comment 2 Robert Shideleff 2003-10-30 19:11:02 UTC
Aha. It seems to me this should be included by default, since it seems like a core feature of kdevelop. This is probably more 'core' than the File Selector.
Comment 3 Robert Shideleff 2003-10-30 23:18:55 UTC
Also, I noticed that a lot of other kdevelop niceties depend heavily on this module, for example the right click menu on an open file will only change state from 'Add file to project' to 'Remove file from project' when this plugin is included. Otherwise it always remains 'Add file to project'. I'm wondering if this plugin should be removable at all.
Comment 4 Amilcar do Carmo Lucas 2003-11-01 19:48:12 UTC
Closing.

Please file a new bug report asking for making the File Tree a default plugin 
for custom Makefiles projects.
Comment 5 Jens Dagerbo 2003-11-03 01:10:12 UTC
Thing is, _all_ project scope plugins are enabled by default for a new project. So why isn't the File Tree already there?
Comment 6 Alexander Dymo 2003-11-03 07:38:01 UTC
There were disabled in some project templates and in some import templates. I've enabled them few days ago, and Robert obviously created his project before that.
Comment 7 Robert Shideleff 2003-11-03 20:45:31 UTC
I did create my project by importing an existing project with its own makefiles. This resulted in various things not being there, including the automake facility, which was the subject of a previous bug. (I wouldn't expect the automake facility to be present in a non-automake project, but it was suggested as a place where some of the functionality I was looking for could be found.) I cannot remember whether I ever played with turning on the file tree plugin for this project. However, I just tried importing a test "C++ with Custom Makefiles" project with my current version of kdevelop (alpha7 from Gentoo portage). The File Tree plugin was NOT included by default. I'll attempt to verify whether the template change has been made in beta 1, once I get it to compile successfully on my machine. If its not, then I'll create the new bug.