Skip to content

An extension that allows you to move selection by a word in camel-case string.

License

Notifications You must be signed in to change notification settings

mlewand/vscode-select-part-of-word

Repository files navigation

Select Part Of Word

AppVeyor Build status Travis Build Status Marketplace Version The MIT License

An extension that allows you to move selection by a word in camel-case string. This comes especially handy if you want to fix a typo in the middle of the variable, or just reword a part of it.

Demo

Features

  • Support for unicode characters.
  • Support for multiple selections.

Default Hotkeys

Hotkey Description
CTRL+ALT+RIGHT Move caret to the next word
CTRL+ALT+LEFT Move caret to the previous word
CTRL+SHIFT+ALT+RIGHT Expands selection to the next word
CTRL+SHIFT+ALT+LEFT Expands selection to the previous word
CTRL+ALT+BACKSPACE Removes previous word
CTRL+ALT+DELETE (CTRL+SHIFT+ALT+DELETE on Windows) Removes next word

Hotkeys Customization

This extension overrides several VSCode default hotkeys, like CTRL+ALT+RIGHT hotkey which is bound to workbench.action.moveEditorToNextGroup command (as of VSCode 1.10.2).

If you'd like to use a different hotkey refer to Visual Studio Code's Key Bindings Customization article. All the contributed commands starts with selectPartOfWord.

Looking For Feedback

Please note that this extension is in rather early stage of development.

Source Code

This extension is fully open source, available at https://github.com/mlewand/vscode-select-part-of-word.

Getting In Touch

You can always ping me at Twitter @m_lewand.

License

The code is distributed under MIT license.

  • Image at assets/icon.svg distributed under Creative Commons license, obtained from Wikimedia Commons.

About

An extension that allows you to move selection by a word in camel-case string.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published