LinesMultisets
This Sublime Text plugin allows you to compare, merge and manipulate lists of things, whether they are todo items, lists of files or arrays from API responses.
Details
Installs
- Total 378
- Win 210
- Mac 105
- Linux 63
Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime Lines - Multisets
This Sublime Text plugin allows you to compare, merge and manipulate lists of things, whether they are todo items, lists of files or arrays from API responses:
How to use
Switch to a file with a list you want to modify and select an operation to perform from the Command Palette
(or using Edit -> Lines - Multisets
menu).
Operations
Add
The result is all items from both lists. Example:
List 1 | List 2 |
---|---|
one | two |
three | three |
four | four |
four |
Result: one, two, three, three, four, four, four
Union#Unions)
The result is items from both lists, but only one item for every match. Example:
List 1 | List 2 | Match |
---|---|---|
one | two | |
three | three | :heavy_check_mark: |
four | four | :heavy_check_mark: |
four |
Result: one, two, three, four, four
Intersection#Intersections)
The result is only items that exist in both lists. Example:
List 1 | List 2 | Match | Result |
---|---|---|---|
one | two | ||
three | three | :heavy_check_mark: | three |
four | four | :heavy_check_mark: | four |
four | five | ||
five | five | :heavy_check_mark: | five |
five | five | :heavy_check_mark: | five |
Difference)
The result is items from list 1 that don't have a match in list 2. Example:
List 1 | List 2 | Match | Result |
---|---|---|---|
one | two | one | |
three | three | :heavy_check_mark: | |
four | four | :heavy_check_mark: | |
four | five | four | |
five | five | :heavy_check_mark: | |
five | five | :heavy_check_mark: |
Symmetric difference
The result is items that exist in only one of the lists. Example:
List 1 | List 2 | Match |
---|---|---|
one | two | |
three | three | :heavy_check_mark: |
four | four | :heavy_check_mark: |
four | five | |
five | five | :heavy_check_mark: |
five | five | :heavy_check_mark: |
Result: one, two, four, five