`Revise.jl` is still automatically imported although the corresponding code in `startup.jl` has been deleted

I commented out the following lines in the ~/.julia/config/startup.jl file and restarted the REPL, but the Revise.jl package was still imported into the workspace. Why?

# try
#     using Revise
# catch e
#     @warn "Error initializing Revise" exception=(e, catch_backtrace())
# end

Are you using VSCode? If so, the VSCode Julia extension loads Revise by default, but you can turn this off

3 Likes

Thank you! May I ask how to turn that off in the VS Code? I didn’t find the related description in the documents. I just want to manage these automatically imported packages uniformly in the ~/.julia/config/startup.jl file. :handshake:

Go to the settings of the VSCode Julia extension and look for this one

1 Like

Thanks!!! :handshake: :handshake: :handshake:

1 Like