Open lixinliang opened 8 years ago
I am not sure that I understand. You want to collapse the directory and remove all subfiles from the dom tree at the same time? I would imagine that you could use a regular expression of some kind to manage the searching of the data. But to collapse the directory, I am not familiar with the code base. Where could I find the related functionality? I can then take a look and perhaps offer some more input.
When I do this collapse action, tree-view
plugin will remove the subfiles from the dom tree.
And, this plugin requires it.
As this gif shown, lib
directory was not matched .js
expression.
When the subfiles gone, lib
disappeared immediately.
Perhaps, I made a mistake, and closed a wrong directory. But, I could not restore it. Because, the directory already disappeared. I had to clear the expression.
Condition:
Example:
Reason:
tree-view-search-bar
matches the files bycss
.Finally: If you have any idea or advice about this problem, welcome to discuss here.