Good set of python/django live templates Follow
So is there a really good set of live templates / snippets?
I found the one decent set here: http://peter-hoffmann.com/2010/python-live-templates-for-pycharm.html
But even those are a bit sparse. I'm used to having quite a lot of snippets on sublime text / textmate. Looking for both python and django snippets.
Best,
Bob
I found the one decent set here: http://peter-hoffmann.com/2010/python-live-templates-for-pycharm.html
But even those are a bit sparse. I'm used to having quite a lot of snippets on sublime text / textmate. Looking for both python and django snippets.
Best,
Bob
Please sign in to leave a comment.
For Django templates, we have a number of bundled live templates which are actually fairly smart - do you use them?
Beyond that, these are the only django ones I currently see. Is this what you are referring to: http://screencast.com/t/uzem3tSaLA
In sublime I have a giant set from this plugin: https://github.com/squ1b3r/Djaneir
On the landing page you can see all the various snippets available in both templates and python code.
Best,
Bob
As I said, we don't consider a giant set of snippets inherently better than a smaller one. Just as one example: what do you actually save by using a live template to write an 'if' statement?
But I also really like all the django completions. mchar becomes FIELDNAME = models.CharField(, max_length=50) and obviously lets you tab through.