Create new Code Template, + button grayed out

I'm trying to figure out how to create a new C++ code template (something like a comment for sectioning off portions of a large cpp file), however I'm finding that the plus button for 'Creating a New Template' is grayed out and I can't make a new one. Please see attached screenshot. Is this unexpected behavior, or am I misunderstanding the process for adding a new, reusable piece of C++ code?

Thanks,
Rich



Attachment(s):
Screenshot 2016-01-02 17.36.48.png
1
3 comments
Avatar
Permanently deleted user

Live Templates two lines down from File and Code Templates may be a better option for doing what you are trying to do. Code disables the buttons in my copy of CLion too, so it might not be possible to modify the default items in that list.

0

Hi Rich.

You may try to use live templates feture. Please see CLion web help: https://www.jetbrains.com/clion/help/live-templates-2.htmlv.

0
Avatar
Permanently deleted user

Great, got it working with Live Templates. Thanks to you both!

0

Please sign in to leave a comment.