Add fprintf debug snippet for C/C++ files

This commit is contained in:
Kenneth Benzie 2017-09-29 14:40:19 +01:00
parent fb64805b71
commit 6708529f4e

View File

@ -157,3 +157,7 @@ int main(${1:int argc, char **argv}) {
$0
}
endsnippet
snippet debug "Debug fprintf"
fprintf(stderr, "%s: %d: %s\n", __FILE__, __LINE__, __PRETTY_FUNCTION__);
endsnippet