From cb83e8d6596804d3a4f381e9bd65b10cf186f980 Mon Sep 17 00:00:00 2001 From: Artyom Abakumov Date: Mon, 21 Oct 2024 09:39:17 +0300 Subject: [PATCH 1/5] Improve settings for temp files in vs code Mark temporary files as readable instead of excluding them Seems like variables does not work with glob pattern, keep only the relative glob pattern --- .vscode/settings.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e008b8040c2..3cea19e6a2a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,11 +8,9 @@ "[markdown]": { "files.trimTrailingWhitespace": false }, + "files.readonlyInclude": { + "temp/**":true + }, "files.insertFinalNewline": true, - - "files.exclude": { - "temp": true, - "gen": true - } } From 9a3f4267a641cdda7463e6a77191a48f1f91076b Mon Sep 17 00:00:00 2001 From: Artyom Abakumov Date: Mon, 21 Oct 2024 09:39:58 +0300 Subject: [PATCH 2/5] Open epp files as C++ --- .vscode/settings.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3cea19e6a2a..b92ee76f94b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,4 +13,7 @@ }, "files.insertFinalNewline": true, + "files.associations": { + "*.epp": "cpp" + } } From fdc83ffb0467cf965f5cb035af2186da972b670a Mon Sep 17 00:00:00 2001 From: Artyom Abakumov Date: Mon, 21 Oct 2024 15:35:32 +0300 Subject: [PATCH 3/5] Exclude temp files from search --- .vscode/settings.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index b92ee76f94b..8d19e9b97c8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -15,5 +15,9 @@ "files.insertFinalNewline": true, "files.associations": { "*.epp": "cpp" + }, + "search.exclude":{ + "temp/**": true, + "gen/**": true } } From 0cb3123f0a1f022c29925958639b3a8051e5d41a Mon Sep 17 00:00:00 2001 From: Artyom Abakumov Date: Mon, 21 Oct 2024 15:35:44 +0300 Subject: [PATCH 4/5] Missing space --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 8d19e9b97c8..b732b7b8a58 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,7 +9,7 @@ "files.trimTrailingWhitespace": false }, "files.readonlyInclude": { - "temp/**":true + "temp/**": true }, "files.insertFinalNewline": true, From d282765e5ad51e70ca08f60bd2bd354cf3ec7f7a Mon Sep 17 00:00:00 2001 From: Artyom Abakumov Date: Tue, 22 Oct 2024 07:44:50 +0300 Subject: [PATCH 5/5] Missing space Co-authored-by: Adriano dos Santos Fernandes <529415+asfernandes@users.noreply.github.com> --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b732b7b8a58..acfef36e7d0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,7 +16,7 @@ "files.associations": { "*.epp": "cpp" }, - "search.exclude":{ + "search.exclude": { "temp/**": true, "gen/**": true }