tree-view-menu

Call a customizable menu which shows user choosed operations of tree-view.

yubaoquan

3,742

1

1.2.1

MIT

GitHub

tree-view-menu

Introduction

Show a button when mouse enters a file or folder entry in tree-view.

Click on this button can do one of things below:

  1. Call a menu which contains frequently used buttons you selected in the setting panel.
  2. Do an operation which is set by you in the setting panel.

Advanced

This package provide some other operations which is not in the context menu of tree-view, such as Collapse, Dispatch, Ignore, Terminal

The Terminal feature is copied from atom-terminal, thanks to the author @karan orz

An interesting feature is Dispatch, it provides a way to set the button's behavior in registered atom commands.

p.s.

  1. This package is developed for use case of opening single project in atom, so there may be some problems when open multiple projects or no project files in atom. If you happen to get any problem, please create an issue in the this package's repo.

  2. When developing this package, the node in atom was in version 7.4.0, and the syntax async/await ran well. I think some atom in lower version would have trouble with new ES syntax(not investigated). So make sure your atom version is up to date.

  3. The copy button in this package does not really copy the file into the system clipboard, it only copy the file's path, so you can only paste the copied file via the 'paste' button in this package's menu. If you want to copy the file and pasted to somewhere outside of atom, please use the copy feature in tree-view's context menu.

demo

Because the original demo2 and demo3 images and their clearly compressed ones are so big (over 8M each) that it may not be seen directly in this page. So I have to also put blurry ones to this page. I add the links of clearly versions as well. You can see the clearly version gif in this package's repo.

demo1

demo1

demo2 clearly

demo2-clearly

demo2 blurry

demo2-min

demo2 clearly compressed image link

demo3 clearly

demo3-clearly

demo3 blurry

demo3-min

demo3 clearly compressed image link

Supported operation

Change log

demo

terminal

TODO