Reputation: 12948
Lets think I have opened some file (ex: .java) on Intellij explorer window. And suddenly, I want to delete that.
Is there a way to delete that straight away without searching where is that on project-stucture sub window?
Upvotes: 0
Views: 266
Reputation: 15518
The only 2 things that come to mind are:
1) Safe delete - click on the class name and then ALT + DELETE
2) Scroll from source & delete - from the Project
tool window click the target icon to select your source file and then delete it
Alternatively you can also configure IJ to always auto-scroll from source:
Upvotes: 1