Bug 56475 - No way to refresh File Tree
Summary: No way to refresh File Tree
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-27 05:50 UTC by Paul Hoepfner-Homme
Modified: 2004-10-14 18:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Hoepfner-Homme 2003-03-27 05:50:30 UTC
Version:           unknown (using KDE 3.1.0)
Compiler:          gcc version 2.95.3 20010315 (release)
OS:          Linux (i686) release 2.4.19-pre7

There is no command in KDevelop to refresh the File Tree list. I should be able to right click in the File Tree pane and choose a "Refresh" command. Or, I should be able to choose "Refresh File Tree" from the View menu. I think such a command would make sense here as it usually does in any file browser.
Comment 1 Caleb Tennis 2003-04-25 16:00:59 UTC
can you confirm if this feature is still needed?  The file list should be synced with the project 
files now. 
Comment 2 Paul Hoepfner-Homme 2003-04-28 23:01:50 UTC
I guess it's not needed, assuming that the file list is always perfectly synced with the 
project files. But is that even possible to achieve? If it were possible to keep it 
perfectly synced, then why does Konqueror still have a "refresh" command for 
directories? Even Windows Explorer has a "refresh" command. And every other IDE I've 
used has a refresh command for its file view. It just seems like a good idea to include 
such a feature, especially as the file tree acquires new features over time. For 
instance, I could see the capability for a remote file hierarchy being added to the file 
tree (for example, a FrontPage Extensions-based web project), in which case a 
refresh command would be necessary. 
Comment 3 Jens Dagerbo 2003-04-28 23:07:09 UTC
valid points. we should probably implement it. 
Comment 4 Jens Dagerbo 2003-04-30 15:34:08 UTC
Implemented, if a bit simplistic - expansion of node isn't remembered.  
There is now a "reload" option on the _root node_. I thougt it best to avoid cluttering up 
the menu. 
Comment 5 Mathieu Jobin 2004-10-14 02:19:01 UTC
thanks, it works, however when I add a PHP file to my PHP project, the filelist does not get automaticaly updated... i mean, this particular new file should at least be added.

Comment 6 Jens Dagerbo 2004-10-14 18:49:52 UTC
Yes, but this is a different problem. IIRC, it's the Script Project plugin that's lacking the needed support.