-
Notifications
You must be signed in to change notification settings - Fork 5
/
xslt.sublime-completions
39 lines (36 loc) · 1.31 KB
/
xslt.sublime-completions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"scope": "text.xml.xsl",
"completions":
[
// attribute-completions
{ "trigger": "cdata", "contents": "<![CDATA[${1}]]>" },
{ "trigger": "match", "contents" : "match=\"${1}\"" },
{ "trigger": "mode", "contents" : "mode=\"${1}\"" },
{ "trigger": "name", "contents" : "name=\"${1}\"" },
{ "trigger": "namespace", "contents" : "namespace=\"${1}\"" },
{ "trigger": "select", "contents" : "select=\"${1}\"" },
{ "trigger": "test", "contents" : "test=\"${1}\"" },
{ "trigger": "use-attribute-sets", "contents" : "use-attribute-sets=\"${1}\"" },
// functions
{ "trigger": "current", "contents": "current()" },
{ "trigger": "document", "contents": "document($0)" },
{ "trigger": "element-available", "contents": "element-available($0)" },
{ "trigger": "format-number", "contents": "format-number($1, $2, $3)" },
{ "trigger": "generate-id", "contents": "generate-id($0)" },
{ "trigger": "key", "contents": "key($1, $2)" },
{ "trigger": "system-property", "contents": "system-property($0)" },
{ "trigger": "unparsed-entity-uri", "contents": "unparsed-entity-uri($0)" },
// completions
"ascending",
"case-order",
"data-type",
"descending",
"lang",
"lower-first",
"number",
"order",
"template",
"transform",
"upper-first"
]
}