Skip to content

Commit

Permalink
Fix #4313 Include (arg) macro signature in package intellisense
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Yu committed Jul 21, 2024
1 parent 53fdd38 commit bf2df7f
Show file tree
Hide file tree
Showing 746 changed files with 76,430 additions and 1,597 deletions.
102 changes: 102 additions & 0 deletions data/packages/algorithm2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,9 @@
"Begin{}": {
"snippet": "Begin{${1:block inside}}"
},
"Begin(){}": {
"snippet": "Begin(${2:begin comment}){${1:block inside}}"
},
"tcc{}": {
"snippet": "tcc{${1:comments}}"
},
Expand All @@ -449,90 +452,189 @@
"If{}{}": {
"snippet": "If{${1:condition}}{${2:then block}}"
},
"If(){}{}": {
"snippet": "If(${3:then comment}){${1:condition}}{${2:then block}}"
},
"uIf{}{}": {
"snippet": "uIf{${1:condition}}{${2:then block without end}}"
},
"uIf(){}{}": {
"snippet": "uIf(${3:then comment}){${1:condition}}{${2:then block without end}}"
},
"lIf{}{}": {
"snippet": "lIf{${1:condition}}{${2:then line}}"
},
"lIf(){}{}": {
"snippet": "lIf(${3:if comment}){${1:condition}}{${2:then line}}"
},
"ElseIf{}": {
"snippet": "ElseIf{${1:elseif block}}"
},
"ElseIf(){}": {
"snippet": "ElseIf(${2:elseif comment}){${1:elseif block}}"
},
"uElseIf{}": {
"snippet": "uElseIf{${1:elseif block without end}}"
},
"uElseIf(){}": {
"snippet": "uElseIf(${2:elseif comment}){${1:elseif block without end}}"
},
"lElseIf{}": {
"snippet": "lElseIf{${1:elseif line}}"
},
"lElseif(){}": {
"snippet": "lElseif(${2:elseif line}){${1:elseif block}}"
},
"Else{}": {
"snippet": "Else{${1:else block}}"
},
"Else(){}": {
"snippet": "Else(${2:else comment}){${1:else block}}"
},
"uElse{}": {
"snippet": "uElse{${1:else block without end}}"
},
"uElse(){}": {
"snippet": "uElse(${2:else block comment}){${1:else block without end}}"
},
"lElse{}": {
"snippet": "lElse{${1:else line}}"
},
"lElse(){}": {
"snippet": "lElse(${2:else comment}){${1:else line}}"
},
"eIf{}{}{}": {
"snippet": "eIf{${1:condition}}{${2:then block}}{${3:else block}}"
},
"eIf(){}{}(){}": {
"snippet": "eIf(${4:then comment}){${1:condition}}{${2:then block}}(${5:else comment}){${3:else block}}"
},
"eIf(){}{}{}": {
"snippet": "eIf(${4:then comment}){${1:condition}}{${2:then block}}{${3:else block}}"
},
"eIf{}{}(){}": {
"snippet": "eIf{${1:condition}}{${2:then block}}(${4:else comment}){${3:else block}}"
},
"leIf{}{}{}": {
"snippet": "leIf{${1:condition}}{${2:then line}}{${3:else line}}"
},
"leIf(){}{}{}": {
"snippet": "leIf(${4:comment}){${1:condition}}{${2:then line}}{${3:else line}}"
},
"Switch(){}{}": {
"snippet": "Switch(${3:switch comment}){${1:condition}}{${2:switch block}}"
},
"Switch{}{}": {
"snippet": "Switch{${1:condition}}{${2:switch block}}"
},
"Case{}{}": {
"snippet": "Case{${1:case}}{${2:case block}}"
},
"Case(){}{}": {
"snippet": "Case(${3:case comment}){${1:case}}{${2:case block}}"
},
"uCase{}{}": {
"snippet": "uCase{${1:case}}{${2:case block without end}}"
},
"uCase(){}{}": {
"snippet": "uCase(${3:case comment}){${1:case}}{${2:case block without end}}"
},
"lCase{}{}": {
"snippet": "lCase{${1:case}}{${2:case line}}"
},
"lCase(){}{}": {
"snippet": "lCase(${3:case comment}){${1:case}}{${2:case line}}"
},
"Other{}": {
"snippet": "Other{${1:otherwise block}}"
},
"Other(){}": {
"snippet": "Other(${2:other comment}){${1:otherwise block}}"
},
"uOther{}": {
"snippet": "uOther{${1:otherwise text}}"
},
"uOther(){}": {
"snippet": "uOther(${2:other comment}){${1:otherwise text}}"
},
"lOther{}": {
"snippet": "lOther{${1:otherwise line}}"
},
"lOther(){}": {
"snippet": "lOther(${2:other comment}){${1:otherwise line}}"
},
"For{}{}": {
"snippet": "For{${1:condition}}{${2:for block}}"
},
"For(){}{}": {
"snippet": "For(${3:for comment}){${1:condition}}{${2:for block}}"
},
"lFor{}{}": {
"snippet": "lFor{${1:condition}}{${2:for line}}"
},
"lFor(){}{}": {
"snippet": "lFor(${3:for comment}){${1:condition}}{${2:for line}}"
},
"While{}{}": {
"snippet": "While{${1:condition}}{${2:while block}}"
},
"While(){}{}": {
"snippet": "While(${3:while comment}){${1:condition}}{${2:while block}}"
},
"lWhile{}{}": {
"snippet": "lWhile{${1:condition}}{${2:while line}}"
},
"lWhile(){}{}": {
"snippet": "lWhile(${3:while comment}){${1:condition}}{${2:while line}}"
},
"ForPar{}{}": {
"snippet": "ForPar{${1:condition}}{${2:foreach block}}"
},
"ForPar(){}{}": {
"snippet": "ForPar(${3:foreach comment}){${1:condition}}{${2:foreach block}}"
},
"ForEach{}{}": {
"snippet": "ForEach{${1:condition}}{${2:foreach block}}"
},
"ForEach(){}{}": {
"snippet": "ForEach(${3:foreach comment}){${1:condition}}{${2:foreach block}}"
},
"lForEach{}{}": {
"snippet": "lForEach{${1:condition}}{${2:foreach line}}"
},
"lForEach(){}{}": {
"snippet": "lForEach(${3:foreach comment}){${1:condition}}{${2:foreach line}}"
},
"ForAll{}{}": {
"snippet": "ForAll{${1:condition}}{${2:forall block}}"
},
"ForAll(){}{}": {
"snippet": "ForAll(${3:forall comment}){${1:condition}}{${2:forall block}}"
},
"lForAll{}{}": {
"snippet": "lForAll{${1:condition}}{${2:forall line}}"
},
"lForAll(){}{}": {
"snippet": "lForAll(${3:forall comment}){${1:condition}}{${2:forall line}}"
},
"Repeat{}{}": {
"snippet": "Repeat{${1:end condition}}{${2:repeat block}}"
},
"Repeat(){}{}()": {
"snippet": "Repeat(${3:repeat comment}){${1:end condition}}{${2:repeat block}}(${4:until comment})"
},
"Repeat(){}{}": {
"snippet": "Repeat(${3:repeat comment}){${1:end condition}}{${2:repeat block}}"
},
"Repeat{}{}()": {
"snippet": "Repeat{${1:end condition}}{${2:repeat block}}(${3:until comment})"
},
"lRepeat{}{}": {
"snippet": "lRepeat{${1:end condition}}{${2:repeat line}}"
},
"lRepeat(){}{}": {
"snippet": "lRepeat(${3:repeat comment}){${1:end condition}}{${2:repeat line}}"
},
"SetKwInput{}{}": {
"snippet": "SetKwInput{${1:csname}}{${2:name}}"
},
Expand Down
31 changes: 22 additions & 9 deletions data/packages/babel.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"keyvalpos": 0
},
"babeltags{}": {
"snippet": "babeltags{${1:tag1=lang1,tag2=lang2,...}}"
"snippet": "babeltags{${1:tag1=lang1,${2:tag2=lang2},...}}"
},
"babelensure{}": {
"snippet": "babelensure{${1:language}}"
Expand Down Expand Up @@ -54,7 +54,7 @@
"snippet": "defineshorthand{${1:shorthand}}{${2:code}}"
},
"defineshorthand[]{}{}": {
"snippet": "defineshorthand[${3:lang1,lang2,...}]{${1:shorthand}}{${2:code}}"
"snippet": "defineshorthand[${3:lang1,${4:lang2},...}]{${1:shorthand}}{${2:code}}"
},
"languageshorthands{}": {
"snippet": "languageshorthands{${1:language}}"
Expand All @@ -79,10 +79,10 @@
"snippet": "babelfont{${1:font_family}}[${2:font_options}]{${3:font_name}}"
},
"babelfont[]{}{}": {
"snippet": "babelfont[${3:lang1,lang2,...}]{${1:font_family}}{${2:font_name}}"
"snippet": "babelfont[${3:lang1,${4:lang2},...}]{${1:font_family}}{${2:font_name}}"
},
"babelfont[]{}[]{}": {
"snippet": "babelfont[${3:lang1,lang2,...}]{${1:font_family}}[${4:font_options}]{${2:font_name}}"
"snippet": "babelfont[${3:lang1,${5:lang2},...}]{${1:font_family}}[${4:font_options}]{${2:font_name}}"
},
"setlocalecaption{}{}{}": {
"snippet": "setlocalecaption{${1:language}}{${2:caption_name}}{${3:string}}"
Expand Down Expand Up @@ -153,13 +153,13 @@
"snippet": "babelhyphenation{${1:exceptions}}"
},
"babelhyphenation[]{}": {
"snippet": "babelhyphenation[${2:lang1,lang2,...}]{${1:exceptions}}"
"snippet": "babelhyphenation[${2:lang1,${3:lang2},...}]{${1:exceptions}}"
},
"babelpatterns{}": {
"snippet": "babelpatterns{${1:patterns}}"
},
"babelpatterns[]{}": {
"snippet": "babelpatterns[${2:lang1,lang2,...}]{${1:patterns}}"
"snippet": "babelpatterns[${2:lang1,${3:lang2},...}]{${1:patterns}}"
},
"babelposthyphenation{}{}{}": {
"snippet": "babelposthyphenation{${1:hypenrules-name}}{${2:lua-pattern}}{${3:replacement}}"
Expand Down Expand Up @@ -308,6 +308,8 @@
"snippet": "AfterBabelCommands{${1:code}}"
},
"allowhyphens": {},
"BabelCJKGlue": {},
"BabelCJKSpace": {},
"BabelDated{}": {
"snippet": "BabelDated{${1:arg}}"
},
Expand Down Expand Up @@ -1331,6 +1333,9 @@
"FBfnindent": {
"option": "acadian"
},
"FBfnmarkspace": {
"option": "acadian"
},
"FBFrenchFootnotesfalse": {
"option": "acadian"
},
Expand Down Expand Up @@ -1433,6 +1438,9 @@
"fgii": {
"option": "acadian"
},
"fprimo)": {
"option": "acadian"
},
"frenchdate{}{}{}": {
"snippet": "frenchdate{${1:day}}{${2:month}}{${3:year}}",
"option": "acadian"
Expand Down Expand Up @@ -1546,9 +1554,6 @@
"ifFBPartNameFull": {
"option": "acadian"
},
"ifFBReduceListSpacing": {
"option": "acadian"
},
"ifFBShowOptions": {
"option": "acadian"
},
Expand Down Expand Up @@ -2926,6 +2931,14 @@
"snippet": "Apageref{${1:label}}",
"option": "hungarian"
},
"aref({})": {
"snippet": "aref(${2:{${1:label}}})",
"option": "hungarian"
},
"Aref({})": {
"snippet": "Aref(${2:{${1:label}}})",
"option": "hungarian"
},
"aref*{}": {
"snippet": "aref*{${1:label}}",
"option": "hungarian"
Expand Down
15 changes: 14 additions & 1 deletion data/packages/beamerbaseframesize.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
{
"includes": {},
"macros": {
"framezoom<><>()()": {
"snippet": "framezoom<${1:button overlay specification}><${2:zoomed overlay specification}>(${3:upper left x},${4:upper left y})(${5:zoom area width},${6:zoom area depth})"
},
"framezoom<><>[]()()": {
"snippet": "framezoom<${2:button overlay specification}><${3:zoomed overlay specification}>[${1:options}](${4:upper left x},${5:upper left y})(${6:zoom area width},${7:zoom area depth})",
"keyvalindex": 0,
"keyvalpos": 2
},
"insertcontinuationcount": {},
"insertcontinuationcountroman": {},
"insertcontinuationtext": {}
},
"envs": {},
"options": [],
"keyvals": []
"keyvals": [
[
"border",
"border=${1:width in pixels}"
]
]
}
Loading

0 comments on commit bf2df7f

Please sign in to comment.