GNOME Builder snippets improvement

Did you know that GNOME Builder support snippets? I didn’t.

I made 4 snippets for RPM Spec files to get spec skeleton: minimal, library, python-arch, python-noarch. You can start typing one of this, press ENTER and see how this magic works. It’s very useful when you packaging something to avoid calling rpmdev-newspec with parameters, opening editor, manual walking by lines and etc.

Also I added some basic snippets for Python files: class/function definition, interpreter line, main function and import. This helps me to more faster write code.

P.S. there some cool C snippets like gobject and main

P.P.S. for switch to next field you want to press Tab

Leave a Reply

Your email address will not be published. Required fields are marked *

Comments are closed.

    • yes, I know. But when we are going to make Builder for all GNOMErs we should simplify packaging part and etc.

      P.S. Snippets in Builder has not the same syntax as in Gedit.