From this post, the line below in startup.jl produces the same result (Win10):
ENV["JULIA_EDITOR"] = "code.cmd -g"