[Geany] Some ideas maybe...

Dominic Hopf dmaphy at xxxxx
Fri May 2 18:10:11 UTC 2008


Am Freitag, den 02.05.2008, 19:48 +0200 schrieb Dominic Hopf:
> Am Donnerstag, den 01.05.2008, 18:29 +0200 schrieb Andreas Mokros:
> > Hi.
> > 
> > While playing around with Geany and exploring its features, some ideas
> > came to my mind that might be nice to have, also some questions:
> > 
> > - Snippets:
> > Very cool feature. But adding a snippet to snippets.conf apparently
> > needs a Geany restart to get it working. Would it be possible to add a
> > function to reload snippets.conf while Geany is running and make newly
> > defined snippets work on-the-fly?
> Nice idea.
> 
> > Also it would be nice, if I could use snippets across several
> > filetypes, e.g. I'd like to use my HTML-snippets also in PHP-files. I
> > can copy them to the PHP-section of course, but maybe something like:
> > [HTML,PHP]
> > could be used for a section?
> Nice idea too.
> 
> > 
> > - Templates:
> > Is it correct that I can only add templates for defined filetypes? I'd
> > like to be able to have a template for XHTML-strict and one for
> > XHTML-transitional e.g. and see them in the "New (with template)"-menu.
> Reading the manual of the current version tells me, that there has just
> to be added a new filetypes.language. I didn't checked that yet.
Well. The filetype has to be known by Geany. Check against the
filedefs-directory to see which filetypes are recognized. I tried that
out with filetype.javascript (which worked) and filetype.xhtml (which
did not work.)

> 
> > 
> > - Filetypes:
> > Is it possible to add a custom filetype, e.g. Flash-ActionScript and
> > tell it to use the cpp-lexer of Scintilla, like you can do in SciTE?
> At the moment this is not possible. Yet. I'm following the development
> in SVN and there seems something to be in work for that. ;)

Regards,

-- 
Dominic Hopf <dmaphy at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.geany.org/pipermail/users/attachments/20080502/ebd402ec/attachment.pgp>


More information about the Users mailing list