Refactoring: Disable const in 'Extract Function' in class
已回答
When I create a function out of the code snipped, the function is created with const at the end (also for getters/setters). This is very inconvenient and forces me to change the code again.
How can I disable it?
请先登录再写评论。
Unfortunately, it hasn't been implemented in CLion yet. Feel free to create a feature request in our tracker: https://youtrack.jetbrains.com/issues/CPP.
So that means each time, I have to remove the 'const' manually in definition and implementation? Why is it on by default?
Thank you!
I'm also "suffering" with this feature. Now I need to manually remove 'const' every time from class declaration and definition.