camel-select

A smarter selection for camelCase and snake_case.

goodwine

1,047

3

0.1.3

Apache v2.0

GitHub

camel-select

A smarter selection for camelCase and snake_case.

Disclaimer: This is not an official Google product.

This Atom plugin changes the behavior of cursor movement when pressing the Ctrl/Cmd keys to a way that is friendlier on souce code that contains snake_case and camelCase by mimicking Eclipse's Smart Caret instead of Atom's "subword-boundary" behavior.

This simple and seemingly small difference makes a big impact while coding, especially for someone who works a lot with Eclipse due to muscle memory. Now switching between both editors feels like working on the same one.
An analogy: Vim users want Vim bindings on Atom.

Comparison of Atom's native behavior vs this plugin.

Movement is determined by categorizing characters in 5 groups, and instead of stopping at non-word characters, the cursor stops when there is a transition:

License

Apache 2.0; see LICENSE.md for details.