Type -> (arrow) when pressed . (dot)
已回答
Hi all,
if I have a shared_ptr<FOO> foo;
I want to CLion to auto-correct the foo. to foo-> when I type .(dot). Is that possible?
Thanks
请先登录再写评论。
Hi! CLion automatically change dots to arrows when accessing the member of a pointer rather than an object. But this auto-conversion is disabled for the objects that have operator-> like in your example. Please follow this ticket for more details.