Files
sublime-tryton-snippets/py_depends_decorator.sublime-snippet

10 lines
439 B
Plaintext
Raw Normal View History

2023-01-20 15:25:20 +01:00
<snippet>
<content><![CDATA[
@fields.depends(${1:fields})
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>tryton_depends</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.python </scope>
<description>Tryton: decorator for on_change/_with functions to specify which fields supply to the function in self object</description>
</snippet>