How to set ORGANIZATION_NAME in C header template?

Answered

Hi,

in CLion, the default C file header template is this:


#if ($HEADER_COMMENTS)
//
// Created by $USER_NAME on ${DATE}.
#if ($ORGANIZATION_NAME && $ORGANIZATION_NAME != "")
// Copyright (c) $YEAR ${ORGANIZATION_NAME}#if (!$ORGANIZATION_NAME.endsWith(".")).#end All rights reserved.
#end
//
#end

How exactly does one define the ORGANIZATION_NAME variable? Doesn't seem to be taking it from the system environment variables.

Thanks!

4
2 comments

Yesss!!!! Ran into this one too. An answer would be nice.

0

There is the issue in our tracker: https://youtrack.jetbrains.com/issue/CPP-2819. Please comment or upvote and sorry for the inconvenience.

0

Please sign in to leave a comment.