UniNavi

Unicode Navigator for Some C IDEs


Project maintained by dlOuOlb Hosted on GitHub Pages — Theme by mattgraham

Demo

UniNavi

Unicode Navigator for Some C IDEs

What is this?

A set of navigators for tiny subsets of Unicode by exploiting C language structure and modern IDE features. Actually, these navigators are just fake objects which do not exist.

Why does this exist?

Because I'm too lazy to take a hand off the keyboard and on the mouse to copy a special character from somewhere out of the editor.

How is this supposed to use?

#define a shortcut identifier you want to use for a Unicode subset sheet. Navigate through the fake object and take your auto-completed character. After use, make sure the fake object is not left at all or it will make your build fail as intended. See also the above demo.gif # and uninavi.h #.

Is this portable?

No, although the C standard (ยง D.1) allows some universal characters for identifiers, some IDEs would fail to construct valid ASTs. Because Unicode is hard.

How much is this done?

Very little, and currently I have no clear plan to extend unless requested. See the below list.
  • [U+00A0-00FF] Latin-1 Supplement #
  • [U+0370-03FF] Greek and Coptic #
  • [U+2070-209F] Superscripts and Subscripts #
  • [U+20A0-20CF] Currency Symbols #
  • [U+2150-218F] Number Forms #
  • [U+2460-24FF] Enclosed Alphanumerics #
  • [U+2500-257F] Box Drawing #
  • [U+2600-26FF] Miscellaneous Symbols #

Change Log

2020-03-14

Created uninavi.h with 4 sheets of below list:
  • U+00A0-00FF Latin-1 Supplement.h
  • U+0370-03FF Greek and Coptic.h
  • U+2070-209F Superscripts and Subscripts.h
  • U+2500-257F Box Drawing.h

2020-03-15

Modified uninavi.h with 4 sheets of below list:
  • U+20A0-20CF Currency Symbols.h
  • U+2150-218F Number Forms.h
  • U+2460-24FF Enclosed Alphanumerics.h
  • U+2600-26FF Miscellaneous Symbols.h