Rider for Unreal: show .h and .cpp at same time

I already make that request through the "Submit a Request", but I was oriented to post it here instead: https://rider-support.jetbrains.com/hc/en-us/requests/2957895

One feature I would like to request is to have an option to show the corresponding .cpp/.h file on the same window as the open .h/.cpp file (and allow to edit, if the file is not locked). This would work similar to the current Markdown plugin, but both sides would be editable.

Currently, I already can split the view into 2, but it has many issues:

1. It doesn't automatically sync, when going to another file .h I need to manually go to another .cpp
2. When opening a new file it opens on the same view as the last focused tab, so I need to manually move it to another view
3. Quickly lose tab space, as each class consumes 2 tabs
4. Not an actual issue, but it would be cool to automatically select the member implementation when selecting it on the header file

My current workaround (2 views manually synced):

Current markdown plugin in action (the best example I have in mind of how it would look like):

1 comment
Comment actions Permalink

Hello Bruno,

There is a feature request that is more or less cover your use-case. The idea is to combine .h and .cpp files into one tab: https://youtrack.jetbrains.com/issue/RIDER-43249. Please feel free to add a comment to the feature request.

While it is not implemented, I'd suggest that you use Go to Header/Source action to switch easily between header/source files (Navigate -> Navigate To... -> Switch Header/Source).

Hope it helps!


Please sign in to leave a comment.