Skip to content

Latest commit

 

History

History
154 lines (95 loc) · 4.11 KB

CHANGELOG.md

File metadata and controls

154 lines (95 loc) · 4.11 KB

Change Log

v1.3.0 - 2024-02-03

Added

  • Try to sort tokens separated by dots (periods) if no whitespaces are selected.
    • This is useful for sorting CSS compound selectors.
    • This feature can be disabled by setting useDotAsWordSeparator to false.

v1.2.2 - 2022-12-10

Fixed

  • Fix badge image URL in README

v1.2.1 - 2022-11-26

Fixed

  • Set up GitHub Action to publish extension on pushing tags to both Visual Studio Marketplace and Open VSX Repository.
  • Update dependencies

v1.2.0 - 2022-05-16

Changed

  • Update meaw to v6.0.0

  • Recreated as a Web extension (GitHub Codespaces supported)

  • BREAKING CHANGE: Renamed the extension to "Smart Sort" (from Stable Sort)

    • Name of commands and configurations are changed accordingly:

      • (Command) stableSort.sortAscendingsmartSort.sortAscending
      • (Command) stableSort.sortDescendingsmartSort.sortDescending
      • (Configuration) stableSort.preferWordSortingsmartSort.preferWordSorting

v1.1.0 - 2019-06-23

Added

  • New setting stableSort.preferWordSorting (see Changed subsection below)

Changed

  • Now lines touched by a selection will be sorted under the condition below unless stableSort.preferWordSorting setting is set true
    1. there is only one selection range
    2. it covers multiple lines
    3. either it's start or end position is not at the beginning of a line

Fixed

  • Words may be concatenated on sorting (Issue #2)

v1.0.0 - 2019-06-16

Added

  • Unified commands to sort words and lines
    • New keybinding: Ctrl+Alt+R and Ctrl+Alt+Shift+R (mac: Cmd+Ctrl+R and Cmd+Ctrl+Shift+R)
  • Now words spread over multiple lines can be sorted
  • Now whether to sort numerically or not are guessed automatically

Changed

  • Changed zlib License to MIT License
  • Removed character code based sorting (not considered useful much)
  • Now this extension reproduces spaces around separators according to what the separator character is
    • If it's a comma (,) or a tab (\t), only trailing whitespaces will be reproduced
    • If it's a vertical bar (or "pipe", |), preceding whitespaces and/or trailing whitespaces will be reproduced
    • Reproduced whitespace will always be a single space (U+0020)
  • Now word separator is guessed using firstly appeared candidate

Fixed

  • Now ignores spaces after tab characters on sorting words separated with them
  • Wrongly treated consecutive occurrence of separators as single occurrence

v0.3.0 - 2018-10-01

Added

  • New sort options to use character code for string comparison

Changed

  • Renamed to "Stable Sort"

[v0.2.1-beta] - 2018-09-18

Changed

  • Now uses user environment language as the locale for comparing strings

Fixed

  • Sort result is not stable if sorting in descending order

[v0.2.0-beta] - 2018-09-17

Added

  • New commands to sort words in a selection range
  • Add many new features

Changed

  • Renamed to "xsort"

[v0.1.0-beta] - 2018-09-16

Add

  • Initial beta release