https://github.com/mlewand/vscode-select-part-of-word
An extension that allows you to move selection by a word in camel-case string.
https://github.com/mlewand/vscode-select-part-of-word
productivity selection visual-studio-code visual-studio-code-extension
Last synced: 15 days ago
JSON representation
An extension that allows you to move selection by a word in camel-case string.
- Host: GitHub
- URL: https://github.com/mlewand/vscode-select-part-of-word
- Owner: mlewand
- License: mit
- Created: 2017-01-01T21:06:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-28T15:14:20.000Z (over 3 years ago)
- Last Synced: 2025-04-11T05:53:34.231Z (15 days ago)
- Topics: productivity, selection, visual-studio-code, visual-studio-code-extension
- Language: JavaScript
- Size: 211 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Select Part Of Word
[](https://ci.appveyor.com/project/mlewand/vscode-select-part-of-word) [](https://travis-ci.org/mlewand/vscode-select-part-of-word) [](https://marketplace.visualstudio.com/items?itemName=mlewand.select-part-of-word) [](http://opensource.org/licenses/MIT)
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.

## 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](https://code.visualstudio.com/docs/getstarted/keybindings#_keyboard-shortcuts-editor) 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](https://github.com/mlewand/vscode-select-part-of-word).
### Getting In Touch
You can always ping me at Twitter [@m_lewand](https://twitter.com/m_lewand).
## License
The code is distributed under MIT license.
* Image at `assets/icon.svg` distributed under Creative Commons license, obtained from [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:PEO-bactrian_camel.svg).