CLion removes code which has been selected, when tab is used

已完成

Well, it is self explanatory in title. It does  not happen if I pull cursor to the end of the line (either direction).

0

Hello!

Could you please provide a screencast illustrating the issue? 

0

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.

0

Minor addition:
IT does delete chained function calls, even If I grab by head of the function.

0

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).

0

请先登录再写评论。