Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix&Update snippets #288

Merged
merged 4 commits into from
Jan 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions language/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,11 @@
"body": "UrlDownloadToFile, ${1:URL}, ${2:Filename}",
"description": "Downloads a file from the Internet."
},
"VerCompare": {
"prefix": "VerCompare",
"body": "VerCompare(${1:VersionA}, ${2:VersionB})",
"description": "Compares two version strings."
},
"While": {
"prefix": "While",
"body": "While, ${1:Expression}",
Expand Down Expand Up @@ -1267,7 +1272,7 @@
},
"WinSet": {
"prefix": "WinSet",
"body": "WinSet, ${1:AlwaysOnTop|Trans}, ${2:On|Off|Toggle|Value(0-255) [}, ${3:WinTitle}, ${4:WinText}, ${5:ExcludeTitle}, ${6:ExcludeText]}",
"body": "WinSet, ${1:AlwaysOnTop|Bottom|Top|Disable|Enable|Redraw|Style|ExStyle|Region|Transparent|TransColor}, ${2:On|Off|Toggle|Value(0-255) [}, ${3:WinTitle}, ${4:WinText}, ${5:ExcludeTitle}, ${6:ExcludeText]}",
"description": "Makes a variety of changes to the specified window, such as \"always on top\" and transparency."
},
"WinSetTitle": {
Expand Down Expand Up @@ -2014,7 +2019,7 @@
},
"InsertAt()": {
"prefix": ".InsertAt()",
"body": ".InsertAt(${1:Key}, ${2:Value})",
"body": ".InsertAt(${1:Pos}, ${2:Value1}, ${3:[Value2, ... ValueN]})",
"description": "Inserts one or more values at a given position within a linear array."
},
"MinIndex()": {
Expand All @@ -2039,7 +2044,7 @@
},
"RemoveAt()": {
"prefix": ".RemoveAt()",
"body": ".RemoveAt(${1:Pos}, ${2:Length})",
"body": ".RemoveAt(${1:Pos}, ${2:[Length]})",
"description": "Removes items from the given position in a linear array."
},
"GetCapacity()": {
Expand Down Expand Up @@ -2079,8 +2084,8 @@
},
"Push()": {
"prefix": ".Push()",
"body": ".Push(${1:Value})",
"description": "Appends values to the end of an array."
"body": ".Push(${1:[Value, Value2, ..., ValueN]})",
"description": "Appends values to the end of an array. Returns the position of the last inserted value."
},
"Pop()": {
"prefix": ".Pop()",
Expand Down