v1.3.0 - 2024-02-03
- 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
tofalse
.
v1.2.2 - 2022-12-10
- Fix badge image URL in README
v1.2.1 - 2022-11-26
- 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
-
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.sortAscending
→smartSort.sortAscending
- (Command)
stableSort.sortDescending
→smartSort.sortDescending
- (Configuration)
stableSort.preferWordSorting
→smartSort.preferWordSorting
- (Command)
-
v1.1.0 - 2019-06-23
- New setting
stableSort.preferWordSorting
(see Changed subsection below)
- Now lines touched by a selection will be sorted under the condition below
unless
stableSort.preferWordSorting
setting is settrue
- there is only one selection range
- it covers multiple lines
- either it's start or end position is not at the beginning of a line
- Words may be concatenated on sorting (Issue #2)
v1.0.0 - 2019-06-16
- 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 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)
- If it's a comma (
- Now word separator is guessed using firstly appeared candidate
- 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
- New sort options to use character code for string comparison
- Renamed to "Stable Sort"
- Now uses user environment language as the locale for comparing strings
- Sort result is not stable if sorting in descending order
- New commands to sort words in a selection range
- Add many new features
- Renamed to "xsort"
- Initial beta release