I use dabbrev as my auto-complete function (and since most of what I code is snake_case it works well). However, I'm now doing a Java project and everything is CamelCase. How do I make dabbrev support CamelCase? Or is there a different auto-complete function I should be using in .java buffers?
In particular, if the text dabbrev is copying is in some form of CamelCase e.g.
GenericValue genericValue = new Ge...
and I type M-/ where the ... is, I'd like it to expand the rest of the text in CamelCase without touching the case of the letters currently typed and thus correctly cased. thus geM-/ -> genericValue and GeM-/ -> GenericValue.
I am willing to try another function to see if it works better. And, if I have to hack dabbrev, I can do that too.