Skip to content
An extension that allows you to move selection by a word in camel-case string.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
assets
src
test
.eslintrc.json
.gitignore
.jshintrc
.travis.yml
.vscodeignore
CHANGELOG.md
LICENSE
README.md
appveyor.yml
extension.js
jsconfig.json
package.json

README.md

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.

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.
You can’t perform that action at this time.