www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19959] New: Eponymous template FQN's re-state the template name

https://issues.dlang.org/show_bug.cgi?id=19959

          Issue ID: 19959
           Summary: Eponymous template FQN's re-state the template name
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

In the interest of making it easier to interact with the debug experience, we
need to shorten the symbol names.

One big case of wasted horizontal space is eponymous templates, they often look
like this: `myproject.packagex.sub_a.templatename(arg1, arg2).templatename.x`

The useful data in that string is: `templatename(arg1, arg2).x`

It seems that the fully-qualified name has the template name and args, but then
the eponymous member of the template is re-stated. I think we could have an
option to just remove that globally, so `templatename(arg1, arg2).templatename`
would be `templatename(arg1, arg2)`.

--
Jun 13 2019