CLion removes code which has been selected, when tab is used
Completed
Well, it is self explanatory in title. It does not happen if I pull cursor to the end of the line (either direction).
Please sign in to leave a comment.
Hello!
Could you please provide a screencast illustrating the issue?
That is base:

This is what I want to indent

It works fine:
BUT,


If by any unfortunate even I select not fully sector:
CLion is like "I am going to destroy this guys whole code"
and voila:
Tab character inserted (or space?)
Butif I Dont select fully at the end:


Works Like a charm.
In my opinion, something went on in my keybinds, but I am unable to grasp what.
Minor addition:
IT does delete chained function calls, even If I grab by head of the function.
Unfortunately, I can't reproduce the issue on my side:
Please create an issue in https://youtrack.jetbrains.com/issues/CPP and attach there a simple sample project and your settings (File | Export Settings).