File tree Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <!DOCTYPE plist PUBLIC "-//Apple Computer //DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
3
<plist version =" 1.0" >
4
4
<dict >
5
5
<key >content </key >
6
- <string >def ${1:foo}():
7
- doc = "${2:The $1 property.}"
8
- def fget(self):
9
- ${3:return self._$1}
10
- def fset(self, value):
11
- ${4:self._$1 = value}
12
- def fdel(self):
13
- ${5:del self._$1}
14
- return locals()
15
- $1 = property(**$1())$0 </string >
6
+ <string >@property
7
+ def ${1:name}(self):
8
+ "${2:The $1 property.}"
9
+ ${3:return self._$1}
10
+
11
+ ${4:@$1.setter
12
+ def $1(self, value):
13
+ self._$1 = value}
14
+
15
+ ${5:@$1.deleter
16
+ def $1(self):
17
+ del self._$1}$0 </string >
16
18
<key >name </key >
17
19
<string >New Property </string >
18
20
<key >scope </key >
19
21
<string >source.python </string >
20
22
<key >tabTrigger </key >
21
- <string >property </string >
23
+ <string >prop </string >
22
24
<key >uuid </key >
23
- <string >195B332F-4464-4539-9FB3-D89152C960DC </string >
25
+ <string >14F76ADA-3380-4359-B5EF-F48B24884597 </string >
24
26
</dict >
25
27
</plist >
Original file line number Diff line number Diff line change 79
79
<dict >
80
80
<key >items </key >
81
81
<array >
82
- <string >195B332F-4464-4539-9FB3-D89152C960DC </string >
82
+ <string >14F76ADA-3380-4359-B5EF-F48B24884597 </string >
83
83
<string >FD868CF0-FEF8-471B-BB6D-F2D7F54F71F3 </string >
84
84
<string >------------------------------------ </string >
85
85
<string >495317BD-13D7-46F9-8A2F-8D234653A3F0 </string >
You can’t perform that action at this time.
0 commit comments