]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix msCompile problem matcher on VScode on Windows (#31068)
authorTemporalOroboros <TemporalOroboros@gmail.com>
Sat, 17 Aug 2024 06:33:16 +0000 (23:33 -0700)
committerGitHub <noreply@github.com>
Sat, 17 Aug 2024 06:33:16 +0000 (23:33 -0700)
commit309189305592c6748bcf0224a19c445c84ac4446
tree168aacd57ff836356693da43a24b4a855295052b
parent5cc2b12f4e32d25ea2fe868fba2a95c8b5bce1ff
Fix msCompile problem matcher on VScode on Windows (#31068)

Either VSCode's integrated shell or dotnet has a default behaviour where it inserts newlines into stdout/stderr to make the lines wrap at the console width. Since msCompile works based on lines this makes it fail to detect build warnings correctly. Depending on where the line break occurs this can result in a truncated error message, a correct error message with a truncated filepath for the error, or the errror just straight up missing.
Adding 'ForceNoAlign' to the logging parameters for dotnet build disables this behaviour and gives msCompile actually useful input to sift for errors. End result is all the errors are detected and listed with the correct error messages and filepaths.
.vscode/tasks.json