Add fprintf debug snippet for C/C++ files
This commit is contained in:
parent
fb64805b71
commit
6708529f4e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user