From c3e4254bb8baeb9dcdccbede4cf8241724125cbe Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 11 May 2022 17:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'settings.json'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/settings.json b/settings.json index 64e9d54..0133069 100644 --- a/settings.json +++ b/settings.json @@ -138,4 +138,13 @@ "gitlens.blame.compact": false, "gitlens.heatmap.locations": [], "workbench.activityBar.visible": false, + "emeraldwalk.runonsave": { + "commands": [ + { + "match": ".td", + "isAsync": true, + "cmd": "clang-format -i ${file}" + } + ] + }, } \ No newline at end of file