Add CMake debug snippet
This commit is contained in:
parent
0f852b0518
commit
08f3f8d38f
@ -598,6 +598,10 @@ snippet message
|
|||||||
message($1`!p snip.rv=complete(t[1], ['STATUS', 'WARNING', 'AUTHOR_WARNING', 'SEND_ERROR', 'FATAL_ERROR', 'DEPRECATION'])` "$2")
|
message($1`!p snip.rv=complete(t[1], ['STATUS', 'WARNING', 'AUTHOR_WARNING', 'SEND_ERROR', 'FATAL_ERROR', 'DEPRECATION'])` "$2")
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet debug "Description" b
|
||||||
|
message($1`!p snip.rv=complete(t[1], ['STATUS', 'FATAL_ERROR'])` "${2:$3: ${${3:var}}}")
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet option
|
snippet option
|
||||||
option(${1:option} "${2:description}." $3`!p snip.rv=complete(t[3], ['ON', 'OFF'])`)
|
option(${1:option} "${2:description}." $3`!p snip.rv=complete(t[3], ['ON', 'OFF'])`)
|
||||||
endsnippet
|
endsnippet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user