Text Expander icon

Text Expander

by moondev

v1.1.0 Updated Jun 15, 2021 7.0KiB
CWS
105
Users
★ 3.50
2 reviews
#41095
of 136.9K
accessibility
#1587 of 4.2K
⚠️Not updated in over 2 years

Description

Expand a snippet of text to a longer form, using a hotkey (e.g., "so" → "site:stackoverflow.com"). Works in most text inputs, such as search boxes and multi-line comment fields. Adding a text snippet: • Click/open the extension. • In the first box: enter the abbreviated text, without spaces, to be replaced a longer form in the second text box. • In the second box: enter the expanded form, replacing the "prefix" text from the first box. To use a saved snippet: • In any input box, type your prefix text and use the assigned shortcut (default is "Ctrl+Shift+G". • For the expansion to work, the prefix text must be separated from other words by a space. • The caret (blinking text cursor) must be on or around the prefix word. For example, lets say the pipe character (|) is your caret placement: how to exit vim? so| (valid) how to exit vim? s|o (valid) how to exit vim? |so (valid) how to exit vim?| so (invalid) To remove a text snippet: • Click/open the extension. • Check any boxes you'd like removed. • Click the "Remove" button and reopen the extension. Notes and limitations: • Expansion won't work in some input fields. • Expansion won't work in the Omnibox (Chrome's address bar/search bar). • Expansion won't work in the startup page search bar. • The prefix text doesn't need to be highlighted. • The prefix-expansion pair is saved locally on your browser. Change Notes: [1.1.0] • Changes: 2nd input box now changed to <pre> to allow multi-line expansions. • Bug fix: Long expansions in the extension are now scrollable. • Bug fix: Removing local storage items doesn't refresh list. Check the source code on GitHub: https://github.com/ssmooncoder/text-expander
Text Expander screenshot 1Text Expander screenshot 2

Reviews

Loading reviews...

Permissions (3)

Permissions

activeTab Can access the current tab when you click the extension scripting Can inject scripts into web pages storage Can store data locally in your browser

Details

Version 1.1.0
Updated Jun 15, 2021
Size 7.0KiB
First Seen Mar 26, 2026