<p></p>
<p>Context action works on the buffer, so I'm not sure we would want to make filename available as a normal thing, since the buffer might not be saved to the file when the command is performed, so you would need to provide a use-case for it.</p>
<p>If you have a good use-case and you are going to make the change you could make a pull request to contribute it back.</p>
<p>Look in <code>callbacks.c/on_context_action1_activate()</code></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/discussions/2775#discussioncomment-560783">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6TWN4OKANUBVO3WXTTGUI37ANCNFSM42H75XQQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4FGPV6UL333MXIZVTTGUI37A5CNFSM42H75XQ2YY3PNVWWK3TUL52HS4DFWFCGS43DOVZXG2LPNZBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAAEI5DY.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/discussions/2775#discussioncomment-560783",
"url": "https://github.com/geany/geany/discussions/2775#discussioncomment-560783",
"name": "View Discussion"
},
"description": "View this Discussion on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>