File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?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">
33<plist version =" 1.0" >
44<dict >
55 <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 >
1618 <key >name </key >
1719 <string >New Property </string >
1820 <key >scope </key >
1921 <string >source.python </string >
2022 <key >tabTrigger </key >
21- <string >property </string >
23+ <string >prop </string >
2224 <key >uuid </key >
23- <string >195B332F-4464-4539-9FB3-D89152C960DC </string >
25+ <string >14F76ADA-3380-4359-B5EF-F48B24884597 </string >
2426</dict >
2527</plist >
Original file line number Diff line number Diff line change 7979 <dict >
8080 <key >items </key >
8181 <array >
82- <string >195B332F-4464-4539-9FB3-D89152C960DC </string >
82+ <string >14F76ADA-3380-4359-B5EF-F48B24884597 </string >
8383 <string >FD868CF0-FEF8-471B-BB6D-F2D7F54F71F3 </string >
8484 <string >------------------------------------ </string >
8585 <string >495317BD-13D7-46F9-8A2F-8D234653A3F0 </string >
You can’t perform that action at this time.
0 commit comments