GNOME Bugzilla – Bug 742592
snippets/python: add some basic templates
Last modified: 2015-01-09 06:31:01 UTC
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
Created attachment 294091 [details] [review] snippets/python: add some basic templates
Review of attachment 294091 [details] [review]: Couple nits, and then looks good. Go ahead and change those and just push. ::: src/resources/snippets/python.snippets @@ -35,2 +38,4 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. $0 +snippet import + import ${1} I think we can just do "import $0" here. Hitting enter is as easy as Tab to move to next line. (You also don't break out of snippet mode until reaching $0, so it could get annoying). @@ -37,0 +40,5 @@ +snippet import + import ${1} + $0 ... 2 more ... Same here. "from ${1} import $0"
Created attachment 294139 [details] [review] snippets/python: add some basic templates Reference: https://bugzilla.gnome.org/show_bug.cgi?id=742592 Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
Attachment 294139 [details] pushed as 367b6f4 - snippets/python: add some basic templates