An IntelliJ Platform plugin made for CLion that keeps implementation files in the left editor pane and header files in the right editor pane.
The defaults cover common C, C++, Objective-C, and CUDA extensions, but the plugin may be usable for other use cases as well since it allows for providing the patterns for the left and right side.
Settings live under Settings | Tools | Split Headers & Sources. Use Tools | Re-route Open Files to apply the current rules to every open tab.
Patterns are one per line. * matches within one path segment, ** crosses
directories, and ? matches one character. Patterns containing a slash match
the project-relative path; other patterns match only the filename. Empty lines
and lines starting with # are ignored.
Examples:
# left
*.cpp
src/generated/**
# right
*.hpp
include/**
The project uses Java 21 and the IntelliJ Platform Gradle Plugin:
./gradlew buildPluginThat downloads the configured CLion build. To use an existing installation:
./gradlew buildPlugin -PlocalIdePath=/path/to/CLionThe installable ZIP is written to build/distributions/.
The current plugin build targets CLion 2025.3 and newer (253+).