From d6880b19489d17a09d0ea5ae6f6ffb2e45096335 Mon Sep 17 00:00:00 2001 From: Fredric Silberberg Date: Thu, 18 Jul 2024 14:31:35 -0700 Subject: [PATCH] Turn off trailing whitespace triming in strings 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",