From 4a030d000c6470f9e95d735538e94192104665fb Mon Sep 17 00:00:00 2001 From: Hope Hadfield Date: Tue, 20 Feb 2024 16:20:42 -0500 Subject: [PATCH 1/2] Introduce setting to automatically rename file to type name on save Signed-off-by: Hope Hadfield --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 20eba3f79..5cac67037 100644 --- a/package.json +++ b/package.json @@ -1235,10 +1235,11 @@ "lambdaExpressionFromAnonymousClass", "lambdaExpression", "switchExpression", - "tryWithResource" + "tryWithResource", + "renameFile" ] }, - "default": [], + "default": ["renameFile"], "scope": "window", "order": 10 }, From 2552ec0b83f9d7268643736261d162fd26ed26e9 Mon Sep 17 00:00:00 2001 From: Roland Grunberg Date: Mon, 18 Mar 2024 17:12:23 -0400 Subject: [PATCH 2/2] Change cleanup identifier. Signed-off-by: Roland Grunberg --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5cac67037..dabd99367 100644 --- a/package.json +++ b/package.json @@ -1236,10 +1236,12 @@ "lambdaExpression", "switchExpression", "tryWithResource", - "renameFile" + "renameFileToType" ] }, - "default": ["renameFile"], + "default": [ + "renameFileToType" + ], "scope": "window", "order": 10 },