-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathodoo-dev.sublime-completions
17 lines (15 loc) · 1.22 KB
/
odoo-dev.sublime-completions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"scope": "text.xml - variable_other.xml",
"completions":
[
{ "trigger": "xh", "contents": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" },
{ "trigger": "oe", "contents": "<openerp>\n\t<data>\n\t\t$0\n\t</data>\n</openerp>"},
{ "trigger": "df", "contents": "<record model=\"$1\" id=\"$2\">\n\t<field name=\"$3\">$4</field>\n</record>" },
{ "trigger": "mn", "contents": "<record model=\"$1\" id=\"$2\">\n\t<field name=\"name\">$3</field>\n\t<field name=\"res_model\">$4</field>\n\t<field name=\"view_type\">$5</field>\n\t<field name=\"view_mode\">$6</field>\n\t<field name=\"help\" type=\"$7\">$7</field>\n</record>"},
{ "trigger": "mni", "contents": "<menuitem id=\"$1\" name=\"$2\" parent=\"$3\"\n\t\taction=\"$4\"/>"},
{ "trigger": "rc", "contents": "<record model=\"$1\" id=\"$2\">\n\t$3\n</record>"},
{ "trigger": "fl", "contents": "<field name=\"$1\" $0/>"},
{ "trigger": "fl2", "contents": "<field name=\"$1\">$0</field>"},
{ "trigger": "vw", "contents": "<record model=\"$1\" id=\"$2\">\n\t<field name=\"name\">$3</field>\n\t<field name=\"model\">$4</field>\n\t<field name=\"priority\" eval=\"$5\"/>\n\t<field name=\"arch\" type=\"xml\">\n\t\t$6\n\t</field>\n</record>"}
]
}