Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I delete a file from disk in IntelliJ IDEA?

How do I delete a file from disk (unlink) in IntelliJ IDEA?

I am referring to the file that is currently open in the editor tab.

like image 625
sorin Avatar asked Aug 01 '12 11:08

sorin


1 Answers

Navigate | Select In... (Alt+F1) | Project View, Del or Delete from the context menu.

Or use Refactor | Safe Delete (Alt+Del).

like image 70
CrazyCoder Avatar answered Oct 13 '22 00:10

CrazyCoder