Symbol Complete
This is a very simple VSCode extension which converts a given set of (regular expression) patterns into a user-specified list of symbols.

Usage
Install this extension by searching 'Symbol Complete' in VSCode extensions.
Open up a new file and type something like |-->| and it should convert to ⟶ automatically.
Extension Settings
Patterns are written between a start symbol and an end symbol. Both default to |.
If | is awkward on your keyboard layout, change them (see #4); the change applies
immediately, no reload needed:
{
"symbol-complete.startSymbol": ".",
"symbol-complete.endSymbol": "."
}
Now .-->. becomes ⟶ and .lambda. becomes λ. The symbols are literal text, so .
means a dot, not "any character". Start and end may differ and may be several characters long.
The table of patterns lives in symbol-complete.symbols. Keys are the regular expression
between the symbols, values are the replacement:
{
"symbol-complete.symbols": {
"lambda": "λ",
"\\-\\-\\>": "⟶"
}
}
Your entries are merged with the built-in table (all Greek letters, arrows, set theory and
logic operators; see package.json for the full list).
symbol-complete.replacements takes raw regular expressions matched exactly as written,
without the start/end symbols. Entries from earlier versions, such as "\\|lambda\\|": "λ",
keep working there, and it is the place for delimiter-free patterns:
{
"symbol-complete.replacements": {
"\\.\\.\\.": "…"
}
}
When more than one pattern matches at the cursor, the longest wins.
This extension also works with multiple selections.
Known Issues
Minor undo problems
Development
npm install, then npm test runs the node unit tests for the matcher and npm run lint runs eslint. Press F5 in VS Code to launch the extension in a development host.
Release Notes
0.2.0
Configurable start/end symbols (#4). Patterns moved to symbol-complete.symbols; raw regexes stay in symbol-complete.replacements. Requires VS Code 1.75+.
0.0.9
Support for multiple selections.
Added more character conversions.
0.0.6 — 0.0.8
Minor undo issue fixed
0.0.2 — 0.0.5
Minor revisions
0.0.1
Initial release