<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=181177" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/codebrainz">@codebrainz</a> might be thinking of <a href="https://www.geany.org/manual/current/index.html#special-command-wildcard" rel="nofollow">templates commands</a> where set environment variables and set, but custom commands do not seem to do so.</p>
<p>I tend to prefer the command arguments approach over the environment variables since no existing command will understand the <code>GEANY_XXX</code> variables so their use is restricted to shell scripts or user written commands, but there is a chance that and existing command might understand something like the filetype passed as an argument the way <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=17930457" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GFdevelop">@GFdevelop</a> showed.  But a <code>%</code> letter should be chosen to not overlap with the build command replacements, so <code>%e</code> is taken.  Perhaps <code>%t</code> for fileType.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2156?email_source=notifications&email_token=AAIOWJ2MWM2KOMIY32VM2RLPWCTC5A5CNFSM4HN2SO4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWY2KA#issuecomment-493718824">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5VUTYDYKXJGATZBADPWCTC5ANCNFSM4HN2SO4A">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJZYCJC54634HSFJQZTPWCTC5A5CNFSM4HN2SO4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWY2KA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2156?email_source=notifications\u0026email_token=AAIOWJ2MWM2KOMIY32VM2RLPWCTC5A5CNFSM4HN2SO4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWY2KA#issuecomment-493718824",
"url": "https://github.com/geany/geany/issues/2156?email_source=notifications\u0026email_token=AAIOWJ2MWM2KOMIY32VM2RLPWCTC5A5CNFSM4HN2SO4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWY2KA#issuecomment-493718824",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>