Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Delete Code WordNew to Visual Studio Code? Get it now.
Delete Code Word

Delete Code Word

Overboard

|
3 installs
| (0) | Free
Shortcut to delete previous word by naming conventions of popular programming languages.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Delete Code Word

TL;DR: Delete parts of variable names inside camelCase, PascalCase, snake_case, and more — with just Shift + Backspace.


The Problem

When editing long variable names, especially those with multiple words, changing just a part of the name can be awkward and inefficient:

  • You drag-select "number" with your mouse and replace it – O(n) 😞
  • You press Ctrl + Backspace, deleting the whole name, and retype it – O(n²) 😖
  • You press Backspace multiple times and then type – O(WTF) 🤯

We can do better.

The Solution

With the Delete Code Word extension, simply press Shift + Backspace to delete the last code word segment based on naming convention.

This works seamlessly across common naming styles:

  • Camel Case → camelCase → camel|
  • Pascal Case → PascalCase → Pascal|
  • Snake Case → snake_case → snake_|
  • Screaming Snake Case → SCREAMING_SNAKE_CASE → SCREAMING_SNAKE_|
  • Kebab Case → kebab-case → kebab-|
  • Train Case → Train-Case → Train-|

Example

Press Shift + Backspace in any supported name to remove the previous word segment.

Demo


Extension Settings

This extension contributes the following setting:

  • Delete Code Word: Enable – Enable or disable the extension.

Known Issues

None at the moment.

Release Notes

1.0.0

  • Initial release of Delete Code Word
  • Supports intelligent word deletion across multiple naming styles.

Developer Info

Developer: Hardik Jumnani
Released On: 23rd August, 2025
Built During: Overboard


Enjoy!

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