Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-28T15:14:20.000Z (over 3 years ago)
- Last Synced: 2024-09-13T15:23:49.642Z (4 months ago)
- Topics: productivity, selection, visual-studio-code, visual-studio-code-extension
- Language: JavaScript
- Size: 211 KB
- Stars: 9
- Watchers: 3
- 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
[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/itvoknoafkwjble6?svg=true&passingText=master%20%E2%9C%93)](https://ci.appveyor.com/project/mlewand/vscode-select-part-of-word) [![Travis Build Status](https://travis-ci.org/mlewand/vscode-select-part-of-word.svg?branch=master)](https://travis-ci.org/mlewand/vscode-select-part-of-word) [![Marketplace Version](http://vsmarketplacebadge.apphb.com/version/mlewand.select-part-of-word.svg "Current Release")](https://marketplace.visualstudio.com/items?itemName=mlewand.select-part-of-word) [![The MIT License](https://img.shields.io/badge/license-MIT-green.svg?style=flat-square)](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.
![Demo](assets/demo.gif)
## 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).