-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Make file stats available to indexFilter #12445
Conversation
IMHO, this raises the question if |
I agree about there should be discussion on if |
The risk is only from a maintanaince point of view. |
@ficristo |
If the only motivation behind this change is for extensions sake, I'm against it. |
I just need a solution to provide this capability. All extensions which do filtering currently use this function. In order to get this functionality I must do a very ugly monkey patch in my extension. Brackets is not usable in my project without this capability as it is a very complex directory structure with many hundred thousands of files. This certainly can stay private if Brackets wants to include such functionality by default. For reference, my extension: https://github.com/dakaraphi/brackets-filter-extension |
If we are talking about filtering extensions, personally I always felt they were an hack done because of the limitations of Brackets. |
@dakaraphi in the meantime, you can do this:
This would require probably calling I assume that this: https://github.com/dakaraphi/brackets-filter-extension#example-configuration is the configuration required by your project? |
I think that before we have something in the tree we will have to wait still a lot of time. @dakaraphi keep in mind that is not a supported behaviour and if this will be in the way we will remove it. |
👍 |
Small change to make the file stat information available to the file filter.
There are extensions available to extend the filtering capability, but they are all limited in that it is difficult to have custom filtering for directories or file sizes etc without more information provided to the filter.