bug: sniper mode does not work when one removes a type
Open
bug
- Dominant language
- Java
- Stars
- 2k
- Forks
- 392
- Avg merge
- 11h 24m
- Merged PRs (30d)
- 36
Description
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`.
Contributor guide
Assessment
This issue has not been assessed yet.