Hi and welcome! Great question and I’ve had similar frustrations myself, and haven’t really found a great solution.
One workaround I did find (from https://github.com/julia-vscode/julia-vscode/issues/800) that works is this at the top of a script:
# VS Code workaround: https://github.com/julia-vscode/julia-vscode/issues/800
if isdefined(@__MODULE__, :LanguageServer)
@info "Using VS Code workaround..."
include("Moo")
using .Moo
else
using Moo
end