mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
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:
@@ -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>
|
||||
Reference in New Issue
Block a user