Feature request: implement member funcs in same source file with existing ones

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.

1 comment
Comment actions Permalink

Hi!

Thanks for the suggestion, we already have the issue in our tracker:
https://youtrack.jetbrains.com/issue/CPP-1967
Feel free to comment or upvote.

0

Please sign in to leave a comment.