Open monperrus opened 4 years ago
When one removes a top-level type in Sniper mode and that the type is the only one in the file, the file should be removed when pretty-printing.
Use case: automated removal of deprecated classes, see removeDeprecatedMethods.
removeDeprecatedMethods
To do it really nicely, we can do a rm or even git rm from Spoon if the source folder is the same as the target folder.
rm
git rm
When one removes a top-level type in Sniper mode and that the type is the only one in the file, the file should be removed when pretty-printing.
Use case: automated removal of deprecated classes, see
removeDeprecatedMethods
.