Can't find refactor to move code from header to implementation file

I was hoping that the refactor mechanism would have a way to move code implemented inline in a class header file to  its associated implementation (CPP) file but I can't find that option.

Am I missing something obvious?

0

Hi David.

It's already implemented for single function. Please use Alt+Enter and choose quick-fix:
We also have the issue for batch mode: https://youtrack.jetbrains.com/issue/CPP-2627. Feel free to comment or upvote. 

0

Aha --- on a Mac, one presses Option-Enter to get that functionality, did not discover that before --- and also that one must select the method name. I was looking on the Refactor menu.

Thanks for the info.

0

请先登录再写评论。