You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33-27Lines changed: 33 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,37 +7,43 @@ as multiple selections.
7
7
8
8
Current string functions available:
9
9
10
-
1. camelize
11
-
1. capitalize
12
-
1. classify
13
-
1. chop - split into groups provided n # of characters
14
-
1. clean
15
-
1. clean diacritics
16
-
1. dasherize
17
-
1. decapitalize
18
-
1. humanize
19
-
1. reverse
20
-
1. screaming snake
21
-
1. sentence
22
-
1. slugify
23
-
1. snake
24
-
1. underscore
25
-
1. swap case
26
-
1. titleize
27
-
1. titleize (AP Style)
28
-
1. titleize (Chicago Style)
10
+
1. camelize - converts hyphenated strings to camelCase
11
+
1. capitalize - capitalizes the first character of each selection
12
+
1. classify - converts underscored text to PascalCase
13
+
1. chop - splits into groups provided n # of characters
14
+
1. clean - collapses multiple spaces into one
15
+
1. clean diacritics - removes diacritic marks from characters
16
+
1. dasherize - converts camelCase to kebab-case
17
+
1. decapitalize - lowercases the first character of each selection
18
+
1. humanize - converts text to human-readable form
19
+
1. reverse - reverses the characters in the selection
20
+
1. screaming snake - converts text to SCREAMING_SNAKE_CASE
21
+
1. sentence - transforms text to sentence case
22
+
1. slugify - converts text to a URL-friendly slug
23
+
1. snake - converts text to snake_case
24
+
1. swap case - inverts the case of each character
25
+
1. titleize - capitalizes the first letter of each word
26
+
1. titleize (AP Style) - capitalizes titles according to AP style
27
+
1. titleize (Chicago Style) - capitalizes titles according to Chicago style
29
28
1. truncate - trims string to n # of characters and appends ellipsis
30
29
1. prune - truncate but keeps ellipsis within character count provided
31
-
1. repeat - repeat selection n #of times
32
-
1. convert between unicode and readable characters.
30
+
1. repeat - repeat selection n # of times
31
+
1. random case - randomly changes the case of characters
32
+
1. swap quotes - swaps between single and double quotes
33
+
1. utf8ToChar - converts Unicode escapes to characters
34
+
1. charToUtf8 - converts characters to Unicode escapes
33
35
34
36
Number related functions:
35
37
36
-
1. increment all numbers in selection
37
-
1. decrement all numbers in selection
38
-
1. duplicate selection and increment all number
39
-
1. duplicate selection and decrement all number
40
-
1. sequence all numbers in selection from first number
38
+
1. increment - increases all numbers in the selection by 1
39
+
1. decrement - decreases all numbers in the selection by 1
40
+
1. duplicate and increment - duplicates selection and increments all numbers
41
+
1. duplicate and decrement - duplicates selection and decrements all numbers
42
+
1. sequence - replaces numbers with a sequence starting from the first number
43
+
44
+
Additional utility commands:
45
+
46
+
1. repeat last action - repeats the last string manipulation command that was executed
41
47
42
48
## Use
43
49
@@ -49,7 +55,7 @@ To use these commands, press ⌘+p and enter any of the commands above while tex
49
55
50
56
Introducing String Manipulation Labs
51
57
52
-
We’re excited to announce the launch of String Manipulation Labs—a collection of (really just one at this moment) experimental features designed to enhance and expand the capabilities of the String Manipulation extension. Labs features are disabled by default to ensure a stable experience with the core functionalities.
58
+
We're excited to announce the launch of String Manipulation Labs—a collection of (really just one at this moment) experimental features designed to enhance and expand the capabilities of the String Manipulation extension. Labs features are disabled by default to ensure a stable experience with the core functionalities.
0 commit comments