Shorthand abbreviations expand to full text.

Latest Version

Version
1.1.0
Update
June 14, 2021
Size
7.0KiB
Developer
Category
Users
125
Rating
3.5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
ActiveTab
Scripting
See more

Text Expander Extension

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
 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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Text Expander", "author": "Samuel Moon", "description": "Shorthand abbreviations expand to full text.", "version": "1.1.0", "manifest_version": 3, "background": { "service_worker": "background.js" }, "action": { "default_title": "Add or Remove Entries", "default_popup": "popup.html" }, "permissions": ["storage", "activeTab", "scripting"], "commands": { "expand": { "suggested_key": { "default": "Ctrl+Shift+G", "mac": "MacCtrl+Shift+G" }, "description": "Expand text under cursor if available." } }, "content_scripts": [ { "matches": ["http://*/*"], "js": ["expand.js"] } ]}
Read more

Similar Extensions

icon

Smart Text Expander Extension · Productivity 125 6 ★ 622KiB

icon

Free Auto Text Expander for Google Chrome™ Extension · Productivity 125 262 ★ 287KiB

icon

Autotype - Free Text Expander Extension · Productivity 125 24 ★ 22.38KiB

icon

Web Text Expander: Text Shortcuts & Snippets Extension · Productivity 125 68 ★ 326KiB

icon

Templates Extension · Productivity 125 4 ★ 146KiB

icon

FlyMSG: AI Writer & Autofill Text Expander Extension · Productivity 125 76 ★ 2.21MiB

icon

Textpanda: Snippets for Chrome Extension · Social & Communication 125 15 ★ 601KiB

icon

Power Text for Google Chrome™ Extension · Productivity 125 53 ★ 404KiB

icon

Free Auto Text Expander Extension · Productivity 125 31 ★ 1.55MiB

icon

EqualFill: Free Text Expander Extension · Productivity 125 17 ★ 1.26MiB

icon

AI Text Expander: Snippets and Templates Extension · Productivity 125 19 ★ 1.4MiB

icon

RevertGPT - Quickly Insert Text Anywhere Extension · Social & Communication 125 0 ★ 452KiB

icon

Auto Text Expander: Text Shortcuts & Snippets Extension · Productivity 125 1 ★ 2.67MiB

icon

Capijzo Extension · Productivity 125 2 ★ 1.27MiB

icon

QuickText Extension · Productivity 125 12 ★ 27.11KiB

icon

QuickReply Extension · Productivity 125 14 ★ 702KiB

icon

TextStash Extension · Productivity 125 4 ★ 96.23KiB

icon

Text Fu Extension · Productivity 125 1 ★ 74.3KiB

icon

ProKeys Extension · Productivity 125 220 ★ 417KiB

icon

TextGPT - Smarter Text Input by OpenAI Extension · Productivity 125 5 ★ 27.8KiB

icon

ChatGPT Assistant - Autocomplete Prompts Extension · Productivity 125 3 ★ 330KiB

icon

Sniplets Extension · Productivity 125 6 ★ 100KiB

icon

Replace as You Type Extension · Productivity 125 6 ★ 146KiB

icon

TextExpander: Keyboard Shortcuts & Templates Extension · Productivity 125 186 ★ 23.22MiB

User reviews

icon

Moon (ID: 0000008c62b828a2) Voted 5 ★ - Updated 06/15/2021 Very helpful Thanks!