Scala 3 end method name statement not renamed Follow
While renaming Scala methods, the part after "end" clause is not renamed. Example:
private def createUserPane() = new StackPane
If I'd rename createUserPane (Shift+F6) to createPane, Idean renames it and any other references where it is called as far as I've experienced, but it misses the renaming in the end method part (end createUserPane), which results in errors because the code would look like this:
private def createPane() = new StackPane
end createUserPane // this is NOT renamed using Shift+F6, resulting in errors because of wrong reference
Please sign in to leave a comment.
Please report a bug at https://youtrack.jetbrains.com/newIssue?project=SCL
Thanks, will do.