1. 26 11月, 2020 1 次提交
  2. 13 8月, 2020 1 次提交
    • L
      Compare full filenames · 5fb7d2aa
      Leila Pearson 提交于
      This change fixes issue #99955
      
      When comparing file and folder names, after grouping  by type if applicable, compare the full name all at once instead of separately
      comparing the name and the extension.
      
      This change makes filename comparisons work the same as they
      do in the Mac File Explorer and the same as a standard locale-based
      sort with the numeric option (a form of natural sort) enabled.
      
      Windows File Explorer has a different sort order due to treating the
      dot character differently. Many terminal programs and sites like
      github also differ, using a unicode-sort instead of a locale-based sort.
      5fb7d2aa
  3. 08 5月, 2020 1 次提交
    • L
      Fix filename sort order edge cases in explorer. · e39f295c
      Leila Pearson 提交于
      Partially addresses issue #27759
      
      Adds compareFileNamesNumeric() and compareFileExtensionsNumeric()
      funcitons, and uses the new functions in explorer view.
      
      Fixes the following edge cases:
      
      1. Sorts the same name with different case in locale order (a < A) instead of
      unicode order (A < a).
      2.  Sorts the same name with different accents or diacritics by locale
      (á < à) instead of in unicode order (à < á) .
      3. Sorts names that are equivalent in a numeric locale comparison
      as shortest numeric representation first (1 < 01 < 001) instead of
      unicode order (001 < 01 < 1).
      4. For filenames with a name plus an extension, compares names first
      fand then compares extensions (aggregate.go < aggregate_repo.go)
      instead of comparing the whole name at once
      (aggregate_repo.go < aggregate.go)
      5. Treats dotfiles (filenames that start with a dot) as filenames
      without extensions, instead of either as an empty filename plus
      an extension (single-dot dotfile), or a filename that starts with a
      dot plus an extension (multi-dot dotfile).  This means all dotfiles
      group together in their own section when sorting by file type,
      (.eslintignore < .eslintrc.json < file.cs < file.js < file.json) instead
      of being interspersed between files grouped by type
      (file.cs < .eslintignore < file.js < .eslintrc.json < file.json).
      
      Note: other areas of workbench may benefit from the new functions
      as well but only explorer has been changed so far.
      e39f295c
  4. 28 6月, 2019 1 次提交
  5. 24 12月, 2018 1 次提交
  6. 19 12月, 2018 1 次提交
  7. 24 10月, 2018 1 次提交
  8. 03 10月, 2018 1 次提交
  9. 06 7月, 2017 1 次提交
    • D
      Various kinds of sorting in explorer (#29509) · 52004b4c
      Dmitry Zabello 提交于
      * Make listing directories first an option #29329
      
      * Added refresh on `dirsFirst` config value changed
      
      * Switch sorting configuration to enum
      
      * Added `filesFirst` sorting
      
      * Added sorting by type
      
      * Got rid of the `path` dependency
      
      * Added sorting by last modified date
      
      * Merge conflict fix
      
      * `modified` sorting order changed to descending
      
      * New compareFileExtensions comparer added for TypeSorter
      
      * Switched to a single self-contained explorer sorter
      
      * Improved description of 'explorer.sortOrder' config option
      52004b4c
  10. 21 1月, 2017 1 次提交
  11. 15 1月, 2017 1 次提交
  12. 07 10月, 2016 2 次提交