Skip to content

Commit

Permalink
Introduce setting to automatically rename file to type name on save
Browse files Browse the repository at this point in the history
Signed-off-by: Hope Hadfield <[email protected]>
  • Loading branch information
hopehadfield committed Mar 15, 2024
1 parent 7f89deb commit edc82b3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1235,10 +1235,11 @@
"lambdaExpressionFromAnonymousClass",
"lambdaExpression",
"switchExpression",
"tryWithResource"
"tryWithResource",
"renameFile"
]
},
"default": [],
"default": ["renameFile"],
"scope": "window",
"order": 10
},
Expand Down Expand Up @@ -1275,7 +1276,7 @@
"default": false,
"description": "Enable/disable auto organize imports on save action",
"scope": "window",
"order": 20
"order": 20
},
"java.sources.organizeImports.starThreshold": {
"type": "integer",
Expand Down

0 comments on commit edc82b3

Please sign in to comment.