Code Formatting - Reorder function declarations in cpp to match definitions in header.

Hi,

It is possible to automatically make the function declarations in a cpp, match the order defined in the header? Vice versa.
I like my functions to be listed in the same order in both places, to make it easier to navigate.

Many thanks,
Magnus

1 comment

Hello,

Not yet, sorry. In general, ReSharper C++ cannot yet move functions around ("Rearrange Code" commands do not work). Once we implement this, we'll think about enforcing the order of definitions, but it might be complicated - in C++ too much depends on the relative order of code elements because of involved visibility rules.

Thanks!

1

Please sign in to leave a comment.