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


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,

1 comment
Comment actions Permalink


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.



Please sign in to leave a comment.