Extensions for formatting and transforming text case and style.
Version 2.0.1 | Operates on entire document
Transform the entire document's text with various formatting options.
::replace (replaceAll) — Find and replace text throughout the document. Example: ::replace(old, new)::append (replaceAll) — Add text to the end of every line in the document. Example: ::append(;) adds a semicolon to each line::prepend (replaceAll) — Add text to the beginning of every line in the document. Example: ::prepend(- ) adds a dash bullet to each line::uppercase (replaceAll) — Convert entire document to UPPERCASE. Example: ::uppercase::lowercase (replaceAll) — Convert entire document to lowercase. Example: ::lowercase::sentence_case (replaceAll) — Convert document to Sentence case. Example: ::sentence_case::title_case (replaceAll) — Convert Document To Title Case. Example: ::title_case::capitalize_first (replaceAll) — Capitalize the first letter of the document. Example: ::capitalize_first::remove_quotes (replaceAll) — Strip surrounding quotes from the document. Example: ::remove_quotesVersion 2.0.0 | Operates on current line only
Transform just the current line with various case and naming convention options.
::uppercase_line (replaceLine) — Convert current line to UPPERCASE. Example: ::uppercase_line::lowercase_line (replaceLine) — Convert current line to lowercase. Example: ::lowercase_line::sentence_case_line (replaceLine) — Convert current line to Sentence case. Example: ::sentence_case_line::title_case_line (replaceLine) — Convert Current Line To Title Case. Example: ::title_case_line::camel_case (replaceLine) — Convert current line to camelCase. Example: ::camel_case (hello world → helloWorld)::snake_case (replaceLine) — Convert current line to snake_case. Example: ::snake_case (Hello World → hello_world)::kebab_case (replaceLine) — Convert current line to kebab-case. Example: ::kebab_case (Hello World → hello-world)::remove_quotes_line (replaceLine) — Strip quotes from the current line. Example: ::remove_quotes_lineVersion 1.0.0 | Operates on current line only
Clean up whitespace on the current line.
::remove_all_whitespace (replaceLine) — Strip all whitespace from the current line. Example: ::remove_all_whitespace::trim_whitespace (replaceLine) — Remove leading and trailing whitespace from the current line. Example: ::trim_whitespace