Sha256: 05843a70a15b9769705ca2748312f2384305ad5158d63242703d97288f0d8039

Contents?: true

Size: 1.15 KB

Versions: 11

Compression:

Stored size: 1.15 KB

Contents

snippet if
	If ${1:condition} Then
		${2:; True code}
	EndIf
snippet el
	Else
		${1}
snippet elif
	ElseIf ${1:condition} Then
		${2:; True code}
# If/Else block
snippet ifel
	If ${1:condition} Then
		${2:; True code}
	Else
		${3:; Else code}
	EndIf
# If/ElseIf/Else block
snippet ifelif
	If ${1:condition 1} Then
		${2:; True code}
	ElseIf ${3:condition 2} Then
		${4:; True code}
	Else
		${5:; Else code}
	EndIf
# Switch block
snippet switch
	Switch (${1:condition})
	Case {$2:case1}:
		{$3:; Case 1 code}
	Case Else:
		{$4:; Else code}
	EndSwitch
# Select block
snippet select
	Select (${1:condition})
	Case {$2:case1}:
		{$3:; Case 1 code}
	Case Else:
		{$4:; Else code}
	EndSelect
# While loop
snippet while
	While (${1:condition})
		${2:; code...}
	WEnd
# For loop
snippet for
	For ${1:n} = ${3:1} to ${2:count}
		${4:; code...}
	Next
# New Function
snippet func
	Func ${1:fname}(${2:`indent('.') ? 'self' : ''`}):
		${4:Return}
	EndFunc
# Message box
snippet msg
	MsgBox(${3:MsgType}, ${1:"Title"}, ${2:"Message Text"})
# Debug Message
snippet debug
	MsgBox(0, "Debug", ${1:"Debug Message"})
# Show Variable Debug Message
snippet showvar
	MsgBox(0, "${1:VarName}", $1)

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
gollum-4.1.4 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autoit.snippets
gollum-4.1.3 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autoit.snippets
inc_gollum-4.1.2d lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autoit.snippets
inc_gollum-4.1.2c lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autoit.snippets
gollum-4.1.2 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autoit.snippets
gollum-4.1.1 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autoit.snippets
gollum-4.1.0 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autoit.snippets
gollum-4.0.1 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autoit.snippets
pollypost-0.0.2 vendor/assets/ace-1.1.8/snippets/autoit.snippets
gollum-4.0.0 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autoit.snippets
gollum-3.1.3 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autoit.snippets