<p></p>
<p>Digging more into this... Obviously, this appears to be a known issue in <a href="../blob/bc4dc07e4deb694b647977791a23af6776db4644/geanyctags/src/geanyctags.c#L234-L250">geanyctags.c</a> (albeit conditionally handled for Windows only).</p>
<p>Looks like the issue is tied to the output from the <code>find</code> command that feeds the file list for the <code>ctags</code> to index.</p>
<p>When the file list begins with <code>./</code> (the relative current directory) -- the base-name is empty. Thus the <code>ctags</code> apparently coughs out a blank line.</p>
<p>One way to avoid producing the <code>./</code> is to set a File filter for the project files (Project > Properties) to explicitly match named files. However this seems more like a workaround.</p>
<p>Alternatively, the <code>find</code> command in Geanyctags should be explicitly set to list <strong>only files</strong> `find -type f``. Not sure if this would affect the intended logic of Geanyctags in any adverse way.</p>
<hr>
<pre><code>ctags --version
Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert
  Addresses: <dhiebert@users.sourceforge.net>, http://ctags.sourceforge.net
  Optional compiled features: +wildcards, +regex
</code></pre>

<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-plugins/issues/1042#issuecomment-736908252">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4TYCFVMOKFKRUACR3SSWDDZANCNFSM4UJXL72Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ52YUTLEUGVKYCZXDTSSWDDZA5CNFSM4UJXL722YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFPWFHXA.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-plugins/issues/1042#issuecomment-736908252",
"url": "https://github.com/geany/geany-plugins/issues/1042#issuecomment-736908252",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>