ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Unicode​Completion

by randy3k ST3

Insert Unicode LaTeX δ and Emoji 🍻 to Sublime Text

Details

Installs

  • Total 2K
  • Win 1K
  • OS X 464
  • Linux 458
Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8
Windows 1 0 0 0 1 1 0 1 0 1 0 2 0 3 1 1 1 2 0 0 0 0 0 2 0 0 1 2 3 1 2 0 0 0 1 0 1 0 1 1 0 0 0 1 0 0
OS X 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 1 3 0 0 1 0 0 0 0 2 0 0 0 0 0 0 0 0 1 0 0 0 1 1
Linux 0 0 1 0 1 0 1 0 0 0 0 0 0 1 1 1 0 0 2 2 0 1 1 1 0 1 1 0 0 0 2 0 0 1 0 0 0 0 1 0 0 1 0 0 1 0

Readme

Source
raw.​githubusercontent.​com

UnicodeCompletion

UnicodeCompletion allows users to insert unicodes and perform the unicode lookups and conversions.

To enable UnicodeCompletion check the item Unicode Completion Enabled in the Edit menu. Alternatively, it can be toggled via Command Palette: Unicode Completion: Toggle.

If you want to enable it for a specific syntax, edit the specific syntax settings file and add "unicode_completion" : true.

UnicodeCompletion's tab completion feature was ported to Julia, so Julia users should be able to use it without enabling UnicodeCompletion.

The list of unicodes is generated from Julia, see latex_symbols.jl and emoji_symbols.jl. Check Julia Docs for the complete list of supported Unicodes.

δ Insert a LaTeX symbol:

Type \alpha and hit enter/tab to insert the corresponding unicode α to Sublime Text. Similar procedure applies to other latex symbols.

🍺 Insert an emoji:

Type \:beer: and hit enter/tab to insert the corresponding unicode 🍺 to Sublime Text. It is known that Sublime Text autocompletion pop up window does not show 👍 (\:+1:) and superscriptions (e.g., \^2) correctly, to insert them, they have to be typed and followed by a tab.

Unicode conversion

There are two conversion commands Convert Selection to Unicodes and Convert Selection from Unicodes. To use the conversion, just select the text which you would like to convert, and run the command.

Lookup and Reverse lookup

It also provides commands Unicode Lookup and Unicode Reverse Lookup (can be found in Command Palette) to lookup the unicodes or the corresponding input of the unicodes under the cursor or the selection. If no unicode is detected, a full list of unicodes will be shown.