How do you handle name casing? #5352
Unanswered
kuanyinglu
asked this question in
General
Replies: 1 comment 1 reply
-
Really not sure what you're asking. What do you mean by "handle"? What is the actual problem you are having? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Just wondering how people have dealing with variable names with camel casing, snake casing, or other types?
For example ReallyLongVariableName, really_long_variable_name, REALLY_LONG_VARIABLE_NAME, or even really-long-variable-name.
Tree sitter probably won't be helpful in this case since it's not really syntax related. Normal motions like w,e,b are too big for camel casing.
How do you handle it either in Vim or other editor? Textobject? Inventing smaller motions? Search for character? Delete the word and retype everything?
Beta Was this translation helpful? Give feedback.
All reactions