Renaming a lot of variables in many Java classes at once

前端 未结 6 1096
清酒与你
清酒与你 2021-01-04 01:51

I work in a pretty large Java-project (2500+ classes) that uses an old code standard where all member variables are prefixed with \"m_\" (e.g m_temperature). There is reall

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-04 02:02

    How about below from : mass renaming of java variables

    by Simulant

    click on the variable name.

    1:press [alt] + [shift] + [R]

    2:enter the new name.

    3:press [enter] to confirm.

    -->all instances of this variable will be renamed.

提交回复
热议问题