Show a button when mouse enters a file or folder entry in tree-view.
Click on this button can do one of things below:
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.
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.
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.
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.
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.
icon-repo
cause NPEignore
featurecollapse
and dispatch
featurebutton alias
featureCollapse
will collapse the parent folder. This is useful in collapsing in big folder such as node_modules
find-and-replace
and search-in-project
, user input text in the text edit modal and let this package to invoke the searchKeep Search Text After Search
Button Position
, user can set the button to show on the left side of file or folder.Terminal
feature: open the a terminal in target folder, if target is a file, open the terminal in the folder of the file.1.0.0 Add config option TerminalOpenPath
: with two values:
Open the terminal at current path
Open the terminal at project root
1.0.1 Replace file system monitor of tree-view with atom.project
1.0.2 Watch onDidOpen
so tree-view expanded after opening file with command palette can trigger a recheck
1.0.3 Do not show trigger button on element which actually is not a directory or file entry. For example, a git branch entry
1.1.0
copyProjectPath
1.1.1
1.1.2
1.2.0
Reveal Active File
: When click on this button, the treeView will scroll to the active file.1.2.1
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.