Skip to content

Releases: sgryjp/vscode-stable-sort

v1.2.2

10 Dec 04:35
Compare
Choose a tag to compare
v1.2.2 Pre-release
Pre-release

What's Changed

Full Changelog: v1.2.1...v1.2.2

v1.2.1

03 Dec 02:23
c2ac299
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0

16 May 03:29
Compare
Choose a tag to compare

Changed

  • Update meaw to v6.0.0

  • Recreated as a Web extension (GitHub Codespaces support)

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

    • Names of commands and configurations are changed accordingly:

      Contribution Point Before After
      Command stableSort.sortAscending smartSort.sortAscending
      Command stableSort.sortDescending smartSort.sortDescending
      Configuration stableSort.preferWordSorting smartSort.preferWordSorting

Full Changelog: v1.1.0...v1.2.0

v1.1.0

23 Jun 05:07
Compare
Choose a tag to compare

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

16 Jun 05:57
Compare
Choose a tag to compare

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 whiespaces will be
      reproduced
    • If it's a vertical bar (or "pipe", |), preceding whiespaces and/or
      trailling 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