recommendations icon indicating copy to clipboard operation
recommendations copied to clipboard

Exclude hidden files from recent recommendations

Open blkqi opened this issue 4 years ago • 1 comments

Resolves #71 by

  • Restructuring getMostRecentRecommendation to better allow for filtering of results.
  • Implementing filter isNodeExcluded in order to exclude nodes which are either hidden files or descendants of hidden folders. A traversal of the file system hierarchy is necessary to find hidden ancestors, which greatly reduces the worst-case time complexity.
  • Respecting the user's configuration selection regarding hidden files.

The number of candidate files is arbitrarily limited by 10 times the actual number requested.

blkqi avatar Jan 13 '21 01:01 blkqi

Please rebase? :see_no_evil:

skjnldsv avatar Feb 08 '24 14:02 skjnldsv