<p></p>
<blockquote>
<p dir="auto">Because I have a file containing many Cairo library functions</p>
</blockquote>
<p dir="auto">Do you mean the source of Cairo or do you mean your own code which just happens to use Cairo functions?</p>
<blockquote>
<p dir="auto">I want to complete these functions in a new file</p>
</blockquote>
<p dir="auto">Function <em>defined</em> in an open file in the same (or similar, eg C/C++) language will be available for autocomplete in other files of the same language.   But just using a function in your file is not a definition and is not recognised for autocomplete or the symbol pane.  Also files included in your files are not parsed, so <code>#include <cairo.h></code> will not make cairo functions available for autocomplete.</p>
<blockquote>
<p dir="auto">I've tried geany -g -P</p>
</blockquote>
<p dir="auto">You probably don't want the -P, you want the preprocessor to pull in the headers included from <code>cairo.h</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/3123#issuecomment-1034815159">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ76VTUOVWCQO3EONALU2OPG7ANCNFSM5OADVMIA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJ24RZZK5OLHZSKQ4VDU2OPG7A5CNFSM5OADVMIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHWXANNY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/issues/3123/1034815159</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/3123#issuecomment-1034815159",
"url": "https://github.com/geany/geany/issues/3123#issuecomment-1034815159",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>