Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>smartchrNew to Visual Studio Code? Get it now.
smartchr

smartchr

kiwanamie

|
107 installs
| (0) | Free
Insert several candidates with a single key
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

smartchr

Insert several candidates with a single key.

  • Vim https://www.vim.org/scripts/script.php?script_id=2290
  • Emacs https://github.com/imakado/emacs-smartchr

Features

  • DEMO Video(Emacs) - https://vimeo.com/7832017

Extension Settings

  • smartchr.definitions: smartchr keybinding definitions (JSON)
    • property (language ID) :
      • property (key text) : array of toggle patterns
        • !! indicates the cursor insertion position

Example:

    "smartchr.definitions": {
        "javascript": {
            "F": ["F","$","$(!!)"],
            ">": [">","ev => {!!}",">>"],
            "L": ["L","let ","LL"],
        },
        "go": {
            ":" : [":", " := ", "::"]
        }
    }
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft