[Geany-devel] Python snippets
enrico.troeger at xxxxx
Sat Nov 29 10:22:51 UTC 2008
On Tue, 25 Nov 2008 21:15:47 +0100, Colomban Wendling
<ban-ubuntu at club-internet.fr> wrote:
>I use snippets now for a while with C, but I've recently written a
>Python script and instinctively tried to complete simple statements
>like if, else, etc, but it got C-like statements.
>I think this is very annoying for everyone regular with C snippets
>falling on a language with a non C-like syntax.
>I joined a little patch to add basis of Python snippets (if, else,
>elif, while…) in data/snippets.conf, but I think there is probably
>other languages needing this.
I'm not really sure whether we should add snippets for every filetype
user reporting. This might lead to a big snippets files with all its
disadvantages (longer loading time, harder to maintain, ...).
OTOH it might be indeed useful to have some more defaults like those
for Python. So I'll add them with the note that we try to keep the
default snippets short.
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Devel