From e9c49a1f1ed21af94fca053af15f7079007d36d4 Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Tue, 25 Feb 2014 19:07:12 +0400 Subject: [PATCH] Added Python live templates for '__main__', 'for' loops, comprehensions, properties (PY-2378) --- python/resources/liveTemplates/Python.xml | 296 +++++++++++++++++- python/src/META-INF/python-core.xml | 1 + .../PyIterableVariableMacro.java | 116 +++++++ 3 files changed, 411 insertions(+), 2 deletions(-) create mode 100644 python/src/com/jetbrains/python/codeInsight/liveTemplates/PyIterableVariableMacro.java diff --git a/python/resources/liveTemplates/Python.xml b/python/resources/liveTemplates/Python.xml index 314f81c6cfb9..a7e57811bb30 100644 --- a/python/resources/liveTemplates/Python.xml +++ b/python/resources/liveTemplates/Python.xml @@ -1,9 +1,14 @@ - -