如何在atom1.7 +中单击打开文件(无待处理的窗格) [英] How to open a file with a single click in atom1.7+ (no pending panes)

查看:65
本文介绍了如何在atom1.7 +中单击打开文件(无待处理的窗格)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将原子从1.5升级到1.7后,我发现一个不实用的新功能":单击所有文件现在都在待处理的窗格"中打开,这意味着如果文件中没有任何更改,它将被下一个打开的文件替换.

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.

可以在atom的设置中禁用挂起的窗格"功能.

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.

推荐答案

如果从文件-> 设置或使用 Ctrl -逗号在核心设置"顶部有一个设置,用于允许挂起的窗格,取消选中此选项将禁用挂起的窗格功能:

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:

不幸的是,将单击"功能恢复到T​​reeView尚不是可配置的选项.但是,有拉动请求#804 可以解决此问题.

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.

如果您勇敢并想尝试 TreeView的更新版本,请先尝试合并后,您实际上可以下载它并将其添加到Atom,即使不是从Package Manager中也可以.

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.:

问题::如何在Atom编辑器中编辑核心文件.

需要克隆存储库的相应分支:

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

git clone -b单击选择git@github.com:Alhadis/tree-view.git

感谢阿塞西拉斯(Arcesilas)发现了这个答案.

Thanks to Arcesilas for spotting this answer.

这篇关于如何在atom1.7 +中单击打开文件(无待处理的窗格)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆