question:

You need to replace references to the variable "terrainHeightValue" in your code with "terrainHeatValue". You know it's limited to one function, and there are 5-8 instances to be replaced.

What do you do?

@LouisIngenthron Refactor -> Rename automated IDE action. In case the rename does not succeed because it complains that the name is already in use it is possible to change the existing variable name manually to something placeholder and then rename.

Follow

@positroni In big code bases, that can cause quite a delay, though. I usually reserve it for variables I know are used in multiple files.

That said, if I could have included more than 4 options, I would have added it.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.