Scenario: when working with source trees where classes don't have dedicated source and header files. Instead, same header/source file could have multiple classes declared/defined.
When CLion "implements" a function, it seems to be placed in a random source file, most likely not where other member functions are located.
Would help to change that so that member funcs are instead placed in the same source file where other functions are located. Ideally preserving continuity, so that the new function goes right after last definition. And better still, inside of the appropriate namespace, if any.