Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

atom-editor

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.

like image 312
zezollo Avatar asked Jan 21 '26 12:01

zezollo


1 Answers

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.

like image 194
Richard Slater Avatar answered Jan 23 '26 21:01

Richard Slater



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!