Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>dabbrev-expandNew to Visual Studio Code? Get it now.
dabbrev-expand

dabbrev-expand

kiwanamie

|
423 installs
| (0) | Free
emulation of dabbrev-expand in Emacs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

dabbrev-expand

This extension emulates the dabbrev-expand in Emacs. This command expands to the most recent, preceding word for which this is a prefix.

Features

See the emacs documents:

  • https://www.gnu.org/software/emacs/manual/html_node/emacs/Dynamic-Abbrevs.html

Commands

This extension provides following commands:

  • dabbrev-expand.expansion
    • Expand previous word "dynamically".
    • default key: Alt + /

If the command dabbrev-expand.expansion would not work when you press the key, please check your preference of keyboard shortcut. Another command may be assigned to the same key.

Extension Settings

  • dabbrev-expand.definitions: dabbrev definitions (JSON)
    • property (language ID) :
      • caseIgnore: boolean
        • true: ignore case, false: follow case
        • default: false
      • accept: string
        • accept regexp pattern
        • default: [A-Za-z0-9_]
      • friends: array of string
        • the language IDs in which document this extension searches the expansion words.
        • default: []

Example:

    "dabbrev-expand.definitions": {
        "css": {
            "caseIgnore": false,
            "accept": "[A-Za-z0-9_\\-]",
            "friends": ["javascript"]
        },
        "typescript": {
            "caseIgnore": false,
            "friends": ["javascript"]
        }
    }
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft