You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applying the underscore-camelcase conversion changes all identifiers with
underscores to camelcase identifiers *as well as* camelcase identifiers to
underscores.
E.g., if the highlighted region has foo_bar and somethingElse, then it gets
updated to fooBar and something_else. I would expect to be able to choose to
convert underscore to camel case only (or vice versa).
I installed anyedit this morning (3/25/14)
See before and after examples here. notice, e.g., how HashMap gets mangled
http://adnanaziz.com/tmp/BeforeAnyEdit.png
http://adnanaziz.com/tmp/AfterAnyEdit.png
Original issue reported on code.google.com by adnan.a...@gmail.com on 25 Mar 2014 at 2:56
The text was updated successfully, but these errors were encountered:
Currently the action tries to "guess" what is to revert, and this happens *per
line*.
So if line contains underscores, it will be converted to camel case, and vice
versa.
I used this for one direction conversion and it worked nice for blocks of code
with repeating patterns.
But you've right, this is highly surprising if using it over *entire* files.
If you can, please provide a patch, code is here:
http://code.google.com/a/eclipselabs.org/p/anyedittools/source/browse/AnyEditToo
ls/src/de/loskutov/anyedit/actions/ChangeCase.java
The idea would be to decide (and remember it) what to do based *not* on the
first line but on the entire selection/document.
Original comment by iloveeclipse on 9 Apr 2014 at 7:03
Original issue reported on code.google.com by
adnan.a...@gmail.com
on 25 Mar 2014 at 2:56The text was updated successfully, but these errors were encountered: