PY-12396 Fixed: Property getter live template is useful only inside python class

Separate Python liveTemplatesContext into two parts: General and Class
This commit is contained in:
Semyon Proshev
2016-02-15 14:19:19 +03:00
parent 0137d2fb92
commit 58a92fde16
11 changed files with 178 additions and 15 deletions
@@ -0,0 +1 @@
foo.<caret>
@@ -0,0 +1,3 @@
class C(object):
p<caret>
pass
@@ -0,0 +1,2 @@
p<caret>
pass
@@ -0,0 +1 @@
# <caret>
@@ -0,0 +1,2 @@
def foo(a, <caret>):
pass
@@ -0,0 +1 @@
"abc<caret>"
@@ -0,0 +1,3 @@
<html>
<caret>
</html>