Supun Wijerathne
Supun Wijerathne

Reputation: 12948

Deleting file in Intellij without searching on project-structure?

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

Answers (1)

Morfic
Morfic

Reputation: 15518

The only 2 things that come to mind are:

1) Safe delete - click on the class name and then ALT + DELETE

Safe delete

2) Scroll from source & delete - from the Project tool window click the target icon to select your source file and then delete it

Scroll from source and delete

Alternatively you can also configure IJ to always auto-scroll from source: Autoscroll

Upvotes: 1

Related Questions