zezollo
zezollo

Reputation: 5017

How to open a file with a single click in atom1.7+ (no pending panes)

After having upgraded atom from 1.5 to 1.7 I discover a new "feature" that is not practical: all files that are single-clicked are now open in a "pending pane", what means that if nothing is changed in the file, it will be replaced by the next opened file.

It's possible to disable the "pending panes" feature in the settings of atom.

But I also would like to restore the previous behaviour (a single click on the file in the tree view will open the file).

The "tree-view" package settings allow to edit keybindings, but I haven't found anything about mouse clicking.

Upvotes: 3

Views: 193

Answers (1)

Richard Slater
Richard Slater

Reputation: 6378

If you open up Settings from File -> Settings or with Ctrl-Comma there is a setting right at the top of "Core Settings" to Allow Pending Panes, uncheck this to disable the Pending Pane functionality:

Screenshot of Core Settings

Unfortunately restoring the 'single-click' functionality to the TreeView isn't a configurable option as yet. However there is pull request #804 that addresses this problem.

Advanced: how to try out the updated TreeView now

If you feel brave and want to try out the updated version of TreeView before it is merged you can actually download it and add it to Atom, albeit not from Package Manager.:

Question: How to edit core files in Atom Editor.

It is required to clone the appropriate branch of the repository:

git clone -b single-click-select [email protected]:Alhadis/tree-view.git

Thanks to Arcesilas for spotting this answer.

Upvotes: 1

Related Questions