April 07, 2019
https://issues.dlang.org/show_bug.cgi?id=19791

          Issue ID: 19791
           Summary: Bad cross-file detection
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: visuald
          Assignee: nobody@puremagic.com
          Reporter: x13989@126.com

//A.d
module A;
public import std.stdio;
public int varible;
public static int staticvar;

//B.d
module B;
import A;

When I type in B.d, neither functions of stdio nor “varible” will appear in the auto-complete list, but however “staticvar” appears in the auto-complete list correctly. Also, if I open the colorize system, “varible” would not be colorized but “staticvar” could be colorized correctly.

Please fix this and also add support for public imports.

--