我觉得这个 feature 真的很有用。一直期待 CLion 加上这个 feature。今天才知道最新版本(CLion 2018.3.4)中已经有这个功能了,不过我不清楚从哪个版本开始支持的。
How to enable this feature?
Go to File > Settings, you may also open the Settings page by the shortcut Ctrl + Alt + S
, and see the screenshot below for detail.
Cheers!
Reference
https://stackoverflow.com/a/42260817/6052725
https://www.jetbrains.com/help/clion/settings-smart-keys.html