hmmm it is not a good solution. I need think about how I can implement. There is any "snippets provider" class to inject snippets at runtime?2012/12/16 Jesse van den Kieboom <jessevdk gnome org>
You can add a django language, which basically just inherits from python (include the python main context in the django language file). Then you can add snippets into that language as you want. One caveat is that currently snippets doesn't understand these kind of hierarchies, so you'll either loose all the python snippets or you would need to copy all the python snippets in the django language...2012/12/16 Chuchi Perriman <chuchiperriman gmail com>_______________________________________________Hi all,I'm trying to develop a django plugin but I have some problems:Snippets plugin: I want snippets plugin propose items when I'm editing a django file. Currently I add all my snippets in the python language.There is any way to create a "virtual" language for django files?The same problem with django templates, I'm adding the snippets in the html language but I want to add a "django template" language.The general idea is something like emacs, a django mode that change the way gedit and plugins works.Any idea about how can I develop it, the correct way?
gedit-list mailing list
gedit-list gnome org
https://mail.gnome.org/mailman/listinfo/gedit-list
_______________________________________________
gedit-list mailing list
gedit-list gnome org
https://mail.gnome.org/mailman/listinfo/gedit-list