/vsc-smartchr

smartchr for vscode

Primary LanguageTypeScriptMIT LicenseMIT

smartchr

Insert several candidates with a single key.

Features

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": {
            ":" : [":", " := ", "::"]
        }
    }