I have a code of 100 000 lines loaded in CLion. Many classes inherit from BaseClass that has a public member owner_. I would like to refactor this, change the member to private, and define a getter for it.
My first try was to rename owner_ to owner_test_ but it does not even work. When I refactor owner_ (Refactor->Rename), I get a new window and if I change the name to owner_test_ and hit "Refactor", nothing happens.
On a small toy project, everything works fine but the behavior is different: when I do Refactor->Rename, I don't have a new Window, but the code is highlighed in my editor. When I change the name, everything works as expected.
Any idea on what could go wrong in the larger project?