Add fprintf debug snippet for C/C++ files
This commit is contained in:
		
							parent
							
								
									01f077a6c7
								
							
						
					
					
						commit
						84abff20ab
					
				@ -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