This isn't a particularly well thought out post, but i see a need for some Plugin specific fields in Preferences Tools and also Project Properties.
For haxe, java, C#, PASCAL it would be particularly useful for setting CLASSPATHS, paths to libs etc.
For example in my first effort at customising Geany (see attachment) I added to the preferences panel, but it's really overkill when a number of other modes could benefit.
PATH1: PATH2:
User defined fields that are saved by geany per project and accessible by plugins.
It would make my life easier anyway, anyone else?
bd
On 08/12/2007 03:48:02 PM, blackdog wrote:
This isn't a particularly well thought out post, but i see a need for some Plugin specific fields in Preferences Tools and also Project Properties.
For haxe, java, C#, PASCAL it would be particularly useful for setting CLASSPATHS, paths to libs etc.
For example in my first effort at customising Geany (see attachment) I
I found the attachment should probably have an .html suffix ;-)
added to the preferences panel, but it's really overkill when a number of other modes could benefit.
PATH1: PATH2:
User defined fields that are saved by geany per project and accessible by plugins.
It would make my life easier anyway, anyone else?
Maybe there could be a Paths tab in Preferences - there are already two items on the General tab. Then I guess plugins could add and remove subframes in the vbox. Probably the vbox should be given a meaningful name if we do this.
Regards, Nick
Ah ok, I wasn't sure if you'd be up for plugins adding to the interface in various places, if so that's quite nice then, I could add my own preference tabs from inside the plugin.
bd.
On Mon, 13 Aug 2007 16:49:18 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
On 08/12/2007 03:48:02 PM, blackdog wrote:
This isn't a particularly well thought out post, but i see a need for some Plugin specific fields in Preferences Tools and also Project Properties.
For haxe, java, C#, PASCAL it would be particularly useful for setting CLASSPATHS, paths to libs etc.
For example in my first effort at customising Geany (see attachment) I
I found the attachment should probably have an .html suffix ;-)
added to the preferences panel, but it's really overkill when a number of other modes could benefit.
PATH1: PATH2:
User defined fields that are saved by geany per project and accessible by plugins.
It would make my life easier anyway, anyone else?
Maybe there could be a Paths tab in Preferences - there are already two items on the General tab. Then I guess plugins could add and remove subframes in the vbox. Probably the vbox should be given a meaningful name if we do this.
Regards, Nick _______________________________________________ Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
On 08/13/2007 05:04:32 PM, blackdog wrote:
Ah ok, I wasn't sure if you'd be up for plugins adding to the interface in various places, if so that's quite nice then, I could add my own preference tabs from inside the plugin.
Having thought about it, it would be best not to alter the Prefs dialog. It could be confusing to have different elements visible when different plugins are loaded. Also we like to reorganise the Prefs dialog sometimes when a tab has too many items.
When we have a plugin management dialog, I imagine we could have a Settings button, which could send a "configure" event signal for the plugin to show it's own configuration dialog.
I'm not sure what to suggest for now - you could add a submenu item in the Tools menu:
Tools -> Haxe -> Configure
I think because plugins can do pretty different things, it's probably best to let them setup things individually. Maybe when we have more plugins we can see if there's more things to factor out into the API.
Regards, Nick
Yes it's probably best to wait until there's more input on this. Thanks for the suggestions.
bd
On Tue, 14 Aug 2007 16:07:54 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
On 08/13/2007 05:04:32 PM, blackdog wrote:
Ah ok, I wasn't sure if you'd be up for plugins adding to the interface in various places, if so that's quite nice then, I could add my own preference tabs from inside the plugin.
Having thought about it, it would be best not to alter the Prefs dialog. It could be confusing to have different elements visible when different plugins are loaded. Also we like to reorganise the Prefs dialog sometimes when a tab has too many items.
When we have a plugin management dialog, I imagine we could have a Settings button, which could send a "configure" event signal for the plugin to show it's own configuration dialog.
I'm not sure what to suggest for now - you could add a submenu item in the Tools menu:
Tools -> Haxe -> Configure
I think because plugins can do pretty different things, it's probably best to let them setup things individually. Maybe when we have more plugins we can see if there's more things to factor out into the API.
Regards, Nick _______________________________________________ Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
Actually, something similar but simpler, how about a new Properties field for a project, just a single large field like description, the idea being that it can hold any useful other info for a project, and can be parsed by a plugin, or whatever.
If the idea is ok, I'll put together a patch.
bd
On Mon, 13 Aug 2007 16:49:18 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
On 08/12/2007 03:48:02 PM, blackdog wrote:
This isn't a particularly well thought out post, but i see a need for some Plugin specific fields in Preferences Tools and also Project Properties.
For haxe, java, C#, PASCAL it would be particularly useful for setting CLASSPATHS, paths to libs etc.
For example in my first effort at customising Geany (see attachment) I
I found the attachment should probably have an .html suffix ;-)
added to the preferences panel, but it's really overkill when a number of other modes could benefit.
PATH1: PATH2:
User defined fields that are saved by geany per project and accessible by plugins.
It would make my life easier anyway, anyone else?
Maybe there could be a Paths tab in Preferences - there are already two items on the General tab. Then I guess plugins could add and remove subframes in the vbox. Probably the vbox should be given a meaningful name if we do this.
Regards, Nick _______________________________________________ Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
On 08/13/2007 08:34:15 PM, blackdog wrote:
Actually, something similar but simpler, how about a new Properties field for a project, just a single large field like description, the idea being that it can hold any useful other info for a project, and can be parsed by a plugin, or whatever.
If the idea is ok, I'll put together a patch.
I'm not sure - it might be better to add the utils_get_setting_* functions to the API. This would be more flexible for different plugins, e.g. for saving numbers.
Regards, Nick