Help needed with tracking autocomplete/IntelliSense issue in VS Code

I am not sure if this is a VSCode-only issue or something more general.

I inspected some packages and didn’t find my pattern used at all - maybe I’m doing something anti-pattern-ish here. I’m open to a more idiomatic way, if one is available.

Now, the issue:

Imagine the following file structure:

src
├──FileWithModuleA.jl
├──FileWithModuleB.jl
└──FileWithModuleC.jl

Content of FileWithModuleA.jl:

module A

include("FileWithModuleB.jl")
include("FileWithModuleC.jl")

end

Content of FileWithModuleB.jl:

module B

function functionB()
    @info("OOH Wee...")
end

end

Content of FileWithModuleC.jl:

module C
import ..B

function functionC()
    # here is my autocomplete issue:
    B.functionB()
end

end

So, hitting B. in VS Code does nothing: no autocompletion suggestion. Also, if I’m using a non-existing identifier like B.thisisnotdefinedinB, there is no complaint about a missing reference (yes, I have the linter properly configured for this).

However, typing B. in module A works as expected.

Just to be clear: with the exception of missing reference, JET is satisfied and the code runs as expected. Only the developer experience is affected.

Versions:

Julia: v1.11.5
VSCode: April 2025 (version 1.100)
Julia Extension: v1.140.2
OS: macOS Sequoia version 15.5 (24F74) / Apple M3 Pro
1 Like