Would specifically like to edit /etc/hosts
without leaving the Intellij window. How can I open this file while working on some arbitrary project in Intellij?
Clicking on the File menu (Left hand corner) then clicking Open does the trick, just like most applications.
To set a shortcut for that File Open click you can click on File then settings (Ctrl+Alt+S) and then under Keymap search for File Open. Right click open and you should see the add shortcut dialog. I'm a bit surprised there isn't a default shortcut for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With