<p></p>
<p>This also happens with 1.36.  The reason seems that modules are not shown in the symbols tree, and then the hierarchy is displayed directly in the tag name.</p>
<p>Could you try the patch below and see if it's better for you?</p>
<div class="highlight highlight-source-diff"><pre><span class="pl-c1">diff --git a/src/symbols.c b/src/symbols.c</span>
index a54b6ef4c..a6192f04b 100644
<span class="pl-md">--- a/src/symbols.c</span>
<span class="pl-mi1">+++ b/src/symbols.c</span>
<span class="pl-mdr">@@ -818,9 +818,10 @@</span> static void add_top_level_items(GeanyDocument *doc)
                        break;
                }
                case GEANY_FILETYPES_D:
<span class="pl-mi1"><span class="pl-mi1">+</span>                case GEANY_FILETYPES_ERLANG:</span>
                default:
                {
<span class="pl-md"><span class="pl-md">-</span>                  if (ft_id == GEANY_FILETYPES_D)</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>                        if (ft_id == GEANY_FILETYPES_D || ft_id == GEANY_FILETYPES_ERLANG)</span>
                                tag_list_add_groups(tag_store,
                                        &(tv_iters.tag_namespace), _("Module"), ICON_NONE, NULL);
                        else
<span class="pl-c1">diff --git a/src/tagmanager/tm_parser.c b/src/tagmanager/tm_parser.c</span>
index 7d008e5f6..0edf5c92b 100644
<span class="pl-md">--- a/src/tagmanager/tm_parser.c</span>
<span class="pl-mi1">+++ b/src/tagmanager/tm_parser.c</span>
<span class="pl-mdr">@@ -194,7 +194,7 @@</span> static TMParserMapEntry map_DOCBOOK[] = {
 static TMParserMapEntry map_ERLANG[] = {
        {'d', tm_tag_macro_t},
        {'f', tm_tag_function_t},
<span class="pl-md"><span class="pl-md">-</span>  {'m', tm_tag_undef_t},</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>        {'m', tm_tag_namespace_t},</span>
        {'r', tm_tag_struct_t},
        {'t', tm_tag_typedef_t},
 };</pre></div>
<p>Gives me (with <em>transitive.erl</em> from <a href="http://www1.erlang.org/examples/examples-2.0.html" rel="nofollow">http://www1.erlang.org/examples/examples-2.0.html</a>):<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/793526/98553719-35f08900-22a0-11eb-9fd4-82f12936d995.png"><img src="https://user-images.githubusercontent.com/793526/98553719-35f08900-22a0-11eb-9fd4-82f12936d995.png" alt="Erlang symbols list" style="max-width:100%;"></a></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/2650#issuecomment-724048489">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ75FDVYXTNSKWMUOFLSO74GFANCNFSM4TPJZRZA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ34MVZ4SAZ7NHU7Q3LSO74GFA5CNFSM4TPJZRZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFMUBU2I.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/2650#issuecomment-724048489",
"url": "https://github.com/geany/geany/issues/2650#issuecomment-724048489",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>