Make all build configurations show formatted errors in VS Code
This commit is contained in:
		
							parent
							
								
									2a44f5bf11
								
							
						
					
					
						commit
						9f411025a7
					
				
							
								
								
									
										2
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							| @ -14,5 +14,5 @@ | ||||
| 
 | ||||
|     "git.detectSubmodulesLimit": 0, | ||||
|     "git.ignoreSubmodules": true, | ||||
|     "debug.onTaskErrors": "abort", | ||||
|     "debug.onTaskErrors": "showErrors", | ||||
| } | ||||
|  | ||||
							
								
								
									
										38
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										38
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
								
							| @ -1,6 +1,25 @@ | ||||
| { | ||||
| 	"version": "2.0.0", | ||||
| 
 | ||||
| 	"problemMatcher": { | ||||
| 		"source": "zig", | ||||
| 		"owner": "cpptools", | ||||
| 
 | ||||
| 		"fileLocation": [ | ||||
| 			"autoDetect", | ||||
| 			"${cwd}", | ||||
| 		], | ||||
| 
 | ||||
| 		"pattern": { | ||||
| 			"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$", | ||||
| 			"file": 1, | ||||
| 			"line": 2, | ||||
| 			"column": 3, | ||||
| 			"severity": 4, | ||||
| 			"message": 5, | ||||
| 		} | ||||
| 	}, | ||||
| 
 | ||||
| 	"tasks": [ | ||||
| 		{ | ||||
| 			"label": "Build Debug", | ||||
| @ -21,25 +40,6 @@ | ||||
| 				"clear": true, | ||||
| 				"revealProblems": "onProblem", | ||||
| 			}, | ||||
| 
 | ||||
| 			"problemMatcher": { | ||||
| 				"source": "zig", | ||||
| 				"owner": "cpptools", | ||||
| 
 | ||||
| 				"fileLocation": [ | ||||
| 					"autoDetect", | ||||
| 					"${cwd}", | ||||
| 				], | ||||
| 
 | ||||
| 				"pattern": { | ||||
| 					"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$", | ||||
| 					"file": 1, | ||||
| 					"line": 2, | ||||
| 					"column": 3, | ||||
| 					"severity": 4, | ||||
| 					"message": 5, | ||||
| 				} | ||||
| 			} | ||||
| 		}, | ||||
| 		{ | ||||
| 			"label": "Build Test", | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user