"Extract parameter" refactor disappeared
Answered
Hello,
Up to version 2025.2, CLion had a "Refactor - Extract parameter" feature that made it possible to transform a literal into a function argument. Of course, it fixed the function prototype as well as all the calls involved in the refactoring.
As of 2025.3, I can't find that feature anymore, and it's no longer referenced in the documentation. I can't find any rationale why it disappeared. Has it been merged into another refactoring tool? Why has this been removed? etc
Thank you for your ideas.
Please sign in to leave a comment.
Hello,
The Extract parameter feature is not implemented in CLion Nova. Based on that, the documentation was updated to remove information about this feature.
We have the open ticket in YouTrack for the implementation of this feature:
Many extract refactorings are missing
As a workaround, you can switch CLion to the Classic engine:
CLion language engines
Thank you Sergei for referring me to the YouTrack ticket. I couldn't find it when I looked for it.
Unfortunately, the Classic engine is extremely slow for most refactor operations I have tested (in the order of multiple minutes to extract a parameter in a 100 lines code base). It was mentioned in another YouTrack ticket that was closed as solved by using Nova, which makes the justification somewhat circular :)
For information, I use CLion to showcase refactoring tools in a course on software maintenance and I still have to use CLion 2023.2 because the features either broke or disappeared after that. I can understand that the interest shifted towards AI-assisted coding but it's disappointing to lose static analysis based tools.