Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Entity InsertNew to Visual Studio Code? Get it now.
Entity Insert

Entity Insert

allenshuber

|
1,451 installs
| (0) | Free
Inserts a named entity
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

entity-insert README

The "entity-insert" extension uses an Emmet-like approach to simplifying the insertion of HTML named entities and other Unicode characters. Type a two-character code, invoke the extension, and the code is turned into the entity name or character code. For easiest use, bind the extension to a keyboard shortcut. (I'm currently using Ctrl+E.) This release implements approximately 210 character codes.

Features

The categories of codes currently supported include:

  • General punctuation
  • Arrows (experimental)
  • Currency
  • Enclosed alphanumerics (experimental)
  • Fractions, including some internally generated ones not in Unicode
  • Geometric shapes (experimental)
  • Selected Greek letters
  • Ligatures
  • Mathematical symbols
  • Roman numerals (experimental)
  • Scientific symbols
  • Foreign language letters

Whenever possible, the code is the first two characters of the character name. For example, 'in' will be turned into '∞'.

In many cases however, such as with punctuation starting with right or left for example, there are too many similar names, so only r or l is used, in combination with the first character of the second word, such as rc for the right curly brace. Another example is with superscripts and subscripts. In this case p3 would be used for a superscript number 3.

Special letters from Spanish, French, German, and Portuguese are also supported. The first character is an easy-to-type character similar in appearance to the desired modifier and the second character is the letter itself, such as ^O which results in a Ocirc. For a lower case O, use ^o. The special characters are:

  • ` for grave (`A -> Agrave)
  • ' for acute ('i -> iacute)
  • ^ for circumflex (^u -> ucirc)
  • ~ for tilde (~n -> ntilde)
  • : for umlaut (:o -> ouml)
  • o for ring (oa -> aring)
  • , for cedilla (,c -> ccedil)
  • / for slash ( /O -> Oslash)

The supported inverted punctuation marks are i! and i?. A variety of currency characters (such as eu), fractions (23 -> frac23), ligatures (ae -> aelig), and a selection of other useful symbols (cl -> #8451 [celsius degrees]) are included.

A message is displayed if the code is not recognized.

The keycodes document lists all the codes supported.

Requirements

None.

Extension Settings

This extension adds the extension.entity-insert command.

Known Issues

None.

Release Notes

1.0.0

Initial release of entity-insert.


  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft