Text Lab
Small text jobs that come up all the time. Commands work on your selection, or on the whole file when nothing is selected.
Compare
Select the first text and run Mark Text for Comparing, then select the second text (in the same file or another one) and run Compare with Marked Text. A panel shows a line by line diff with added and removed lines (up to 3000 lines each side).
Count and extract
- Count Occurrences of Text... and Count Matches of a Regular Expression... report how many times something appears in the open file.
- Most Used Words lists the 40 most frequent words.
- Extract Email Addresses / Links / Numbers collect the unique matches. You can insert the list, replace the selection with it, or just look at it.
Convert
- Lines to JSON Array and JSON Array to Lines.
- CSV or TSV to Markdown Table (handles quotes, commas inside quotes and semicolon or tab separators) and Markdown Table to CSV.
Generate
- Insert a Number Sequence...: start, step, count, zero padding; one per line, comma or space separated.
- Insert Fake Data...: pick fields (name, email, phone, address, company, username, date, price, uuid, sentence...), a count and a format (JSON, CSV, Markdown table or lines). Set
textLab.fakeSeedto get the same data every time. The data is made up and meant for tests and mock-ups.
No permissions needed.