In Intellij, how do I toggle between camel case and underscore spaced?

后端 未结 5 682
时光取名叫无心
时光取名叫无心 2021-01-29 20:08

At my company we have two different style guides for java vs sql. In java I have a field named historyOfPresentIllness and when i write the sql, I want to name it

5条回答
  •  囚心锁ツ
    2021-01-29 20:59

    If you are OK with PyCharm also refactoring usages, launch the "Rename" tool (Refactor > Rename). The window pops up with drop down list and you should see the snake_case version of the text in the list (you can open the window and switch to the snake_case with key-strokes so it can be pretty fast).

提交回复
热议问题