From f75ab6018f37c2d28687bc88d3a84d1e4a371c22 Mon Sep 17 00:00:00 2001 From: Fred Silberberg Date: Thu, 18 Jul 2024 15:17:49 -0700 Subject: [PATCH] Turn off trailing whitespace triming in strings (#10646) We have tests with baselines that have trailing whitespaces. Our `trimTrailingWhitespace` setting means that those will get modified automatically, breaking those tests. To fix that, I implemented a vscode feature to avoid triming inside regex and strings, so let's use that. --- .vscode/settings.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3c5b0bb38c9..f9c2ef84cbd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,6 @@ { "files.trimTrailingWhitespace": true, + "files.trimTrailingWhitespaceInRegexAndStrings": false, "files.associations": { "*.*proj": "xml", "*.props": "xml",