• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

camel-select

A smarter selection for camelCase and snake_case.
  • #camel
  • #select
  • #snake
  • #snake_case
  • #camelcase
Goodwine
0.1.3 1,041
3
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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:

  • Lower case characters.
  • Upper case characters.
  • Boundary characters. From your config in Settings -> Editor -> Non Word Characters, plus _.
  • Space characters. (Those that match \s)
  • Neutral characters, the rest of them.

License

Apache 2.0; see LICENSE.md for details.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by