Bug#42677: wishlist : when user open document, set initial path to same as currently focused document

Germain Garand germain at ebooksfrance.com
Tue May 21 10:49:02 UTC 2002


Le Lundi 20 Mai 2002 16:29, Harald Fernengel a écrit :
> Hi,
>
> why don't you use the bookmarks of the file dialog? You can add your
> favourite directories there so you can access them very quickly.
>
> Best regards,
> Harry

I do use them but that's definetly not suitable for that use because :

1) it's global, so it will pollutes ALL your file dialogs with stuf that is 
specific to one project, and not necessarily frequently accessed. 
2) you've got to know BEFORE opening the file that you'll need a bookmark to 
it. 

 Let's take a simple real life example : you want to build a kioslave, so 
naturally, you'll want to have a look at existing ioslaves ... you open, say:
/somewhere/CVS/kdelibs/kioslave/ftp/ftp.cc
 (why would you bookmark such a funny thing)

Now you need to read the notes you jotted about your project so you open some 
private documentation
/home/me/dev/doc/rocking_project.txt

Then you go back to reading ftp.cc...and, damn, you see you need to have a 
look at the ftp.h header file in the same directory than ftp.cc... so you hit 
"open"...
and you are prompted with /home/me/dev/doc !
you browse back to the deeply nested thing above, open ftp.h only to discover 
that you made invalid assumptions about ioslaves, so you'll need to switch to 
plan B, described in :
/home/me/dev/doc/alternate_project.txt

Get the picture ?

It would be so simple if once a file has been opened, every time it gets the 
focus in the editor, hitting the "open" button brought you it's directory...







More information about the KDevelop-devel mailing list