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.
Ideally, there would be a pop-up in which you can name the newly created file...
Thrash bin or cool idea?
-H-
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.
Ideally, there would be a pop-up in which you can name the newly created file...
I've got another one for the file browser: enable rightclick without having to select the file/folder with left click first. So a right click does a select first.
-H-
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? 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.
Ideally, there would be a pop-up in which you can name the newly created file...
This popup is called 'Save As' dialog :). Seriously, I don't think it's worth adding this, as you will get the Save As dialog when you save a new file.
I've got another one for the file browser: enable rightclick without having to select the file/folder with left click first. So a right click does a select first.
Yes, thanks for suggestion. Done in SVN.
Regards, Enrico
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: 1) Create a new file (ctrl-n) 2) Save the new file (ctrl-s) 3) Open 'd6' 4) Open 'sites' 5) Open 'all' 6) Open 'modules' 7) Open 'my_module' 8) Give the new file a name 9) Save the file
If the file browser would support creating new files:
1) Right click in the filebrowser 2) Select 'new file' (or maybe even 'new folder'?) 3) Give the new file a name 4) Done
It just seems logical to be able to do it in the file browser, but maybe I'm alone in that...
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...
Ideally, there would be a pop-up in which you can name the newly created file...
This popup is called 'Save As' dialog :). Seriously, I don't think it's worth adding this, as you will get the Save As dialog when you save a new file.
I've got another one for the file browser: enable rightclick without having to select the file/folder with left click first. So a right click does a select first.
Yes, thanks for suggestion. Done in SVN.
Thanks for adding it!
Regards, Enrico
-H-
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
On Thu, 29 Jan 2009 17:39:50 +0100, Enrico Tröger enrico.troeger@uvena.de wrote:
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.
True, but I work on 20-30 projects simultaneously, so that will be a lot of bookmarks ;)
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.
Don't you apologize to me! ;) I'm the one requesting silly things...
Speaking of silly things: Is there maybe an other dev on this list able to implement a simple 'new file', 'new folder' and rename functionality in the file browser plugin? If so, I'm willing to donate $25 to your personal beer fund!* ;)
-H-
* Payment through PayPal or on a Dutch bank account...
On Mon, 02 Feb 2009 14:15:45 +0100, Harold Aling geany@sait.nl wrote:
On Thu, 29 Jan 2009 17:39:50 +0100, Enrico Tröger enrico.troeger@uvena.de wrote:
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.
True, but I work on 20-30 projects simultaneously, so that will be a lot of bookmarks ;)
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.
Don't you apologize to me! ;) I'm the one requesting silly things...
Speaking of silly things: Is there maybe an other dev on this list able to implement a simple 'new file', 'new folder' and rename functionality in the file browser plugin? If so, I'm willing to donate $25 to your personal beer fund!* ;)
Haha :). Didn't you offer an update for the Dutch translation some time ago? We are currently in string freeze...:).
j/k
But btw, I recently added some new features to the filebrowser plugin which were also requested by you long time ago, IIRC.
- files and directories now have a tooltip showing the full path - entering paths prefix with a tilde in the path entry works now, e.g. ~/projects/ - new option to set the path in the filebrowser to the path of the current file, the path changes when files are switched - new option to set the path in the filebrowser to the base directory of projects when a project is opened
Regards, Enrico