Documentation troubles on file close


I have never used an editor before when it was not obvious how to close one of the multiple files being edited.
It was not obvious in Atom, not even after reading the docs.
I found it strange you displayed some Java source that was irrelevant to my edits, and gave me no way to get rid of it.
What is the trick?


Any OS standard key for closing a document should do the trick, Cmd+W on OS X or Ctrl+W on other platforms. There is also the File menu where there is a Close Tab, Close Pane and Close Window option. And finally, if you hover your mouse pointer over the tab, the × is displayed for the close button.