Firstly this was a deliberate change to Atom introduced in version 1.36.0.
So I realize I might be fighting an uphill battle on this one.
I use RenPy and it recommends and installs on request Atom as it’s preferred editor. However it uses version 1.34.0 of Atom. Since it installs the portable version, it is also not able to auto-update.
Obviously I wanted, if possible, to use the latest version of Atom. But when I tried using it (not portable), I found the TreeView (what I think of as the project view) was missing. When activating it manually, all the files that were previous shown as part of my project weren’t there. Plus next time I returned, the TreeView was closed again by default.
Thinking it was a configuration file issue (and before I understood the .atom folders location and use), I created a discussion thread on the RenPy support forums to ask if anyone could help. (Viewable: here)
In the meanwhile I tried to figure out things for myself. I ended up installing versions 1.41.0, 1.38.2, 1.36.1, 1.35.1 and 1.36.0.
Versions up to 1.35.1 worked how I was used to. 1.36.0 didn’t.
A quick look at the release notes and the cause was obvious (and linked above).
I guess what I’m asking, now I’ve gone through the background is there any way to override the current behavior for releases 1.36.0 onward?
Or would it be possible in a future release to make this “populate treeview for single files” configurable?
Failing that… is there a way of invoking Atom in such a way that a specified file is opened AND populate (and show) the treeview for that file’s parent directory… as was the behavior up to 1.35.1?
What RenPy does is it has a launcher which predefines a list of common files that the author will likely use. Clicking on files like script.rpy opens script.rpy, but also populates the treeview allowing the author to quickly navigate to other files that are part of the project. I can’t imagine that RenPy isn’t the only software tool that works this way.
I often just double-click on source files in the source folder too. There too, showing the rest of the project is really handy… or should I say the lack of it is really annoying.
Realistically Atom is a Swiss army knife when all I need is a hammer. Except someone removed the corkscrew and I miss it.