java - Convert camel-lowercase to camel-upperCase automatically -


i'm looking easy way convert variables , function names lower_case uppercase in java code. there's lot of code, refactoring names 1 one isn't idea.

it means function

public void create_table(string table_name) {     int useless_var = 0;      useless_function("string_param");     // comment should not altered, even_if_i_use_some_underscores } 

should become

public void createtable(string tablename) {     int uselessvar = 0;      uselessfunction("string_param"); // "string_param" must not become "stringparam"     // comments should left untouched, even_if_i_use_some_underscores } 

and on.

i know can python script, take time , can make mistake converting not identifier. that's why want know if there's tool or this.

most java ides can cascade changes make 1 variable ever used. believe tools pmd can find these cases might not in fixing them.

if working application, might want make corrections perform maintenance. instead of updating entire project @ once.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -