On Wed, 28 Jan 2009 23:57:47 +0100, Harold Aling geany@sait.nl wrote:
On Wed, 28 Jan 2009 18:48:03 +0100, Enrico Tröger enrico.troeger@uvena.de wrote:
On Wed, 28 Jan 2009 11:21:26 +0100, Harold Aling geany@sait.nl wrote:
On Mon, 26 Jan 2009 16:03:00 +0100, Harold Aling geany@sait.nl wrote:
Dear Geany devs,
It would be really nice if the 'New' and 'New from template' options were available in the right-click menu of the file browser sidebar.
Why?
Let's say I'm working in /var/www/d6/sites/all/modules/my_module and I need a new, empty file there: 'my_module.inc'
Geany's default dir is set to '/var/www'.
To create a new file in the 'my_module' dir you now have to:
- Create a new file (ctrl-n)
- Save the new file (ctrl-s)
- Open 'd6'
- Open 'sites'
- Open 'all'
- Open 'modules'
- Open 'my_module'
- Give the new file a name
- Save the file
If the file browser would support creating new files:
- Right click in the filebrowser
- Select 'new file' (or maybe even 'new folder'?)
- Give the new file a name
- Done
It just seems logical to be able to do it in the file browser, but maybe I'm alone in that...
You know you can create bookmarks in the GTK filechooser? This won't solve your request directly, but may help to reach common locations in your filesystem faster.
The toolbar buttons are not that far away and adding them to the filebrowser plugin would cause that we expose this all to the plugin API. Of course, you don't care about the technical changes (I wouldn't do so as well in your position :D) but it's just rather much efforts for a little benefit, IMO.
I just thought it would be handy. I don't think about technical changes, since I don't know any C. I'm just a simple php script guy...
I know and that's ok. I just wanted to mention that it is not as trivial as it may sound because the filebrowser is a plugin. I think I won't work on this, at least not before the next release. Sorry.
Regards, Enrico