回答編集履歴
1
fix typo
answer
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Pythonではpropertyを使うので、live templateが用意されています。
|
4
4
|
クラス定義の中で`prop`と打ってみてください。
|
5
|
-
live templateから`prop` `props` `
|
5
|
+
live templateから`prop` `props` `propsd`がサジェストされると思います。
|
6
6
|
順番にgetterのみ、getterとsetter、getterとsetterとdeleterのテンプレートになっています。
|
7
7
|
|
8
8
|
どれかを選んで`Enter`か、キー入力して`cmd`+`j` (insert live template)を押すとコード展開されます。
|