JunoLab / Juno.jl

MIT License
144 stars 23 forks source link

[FR] "Additional Julia Startup Arguments" field syntax is not the same as shell syntax #609

Open goretkin opened 3 years ago

goretkin commented 3 years ago

One example of this confusion in the wild: https://www.reddit.com/r/Julia/comments/bokagt/juno_atom_error_option_pprocs_is_missing_an/

Is there a reason why I have to specify e.g. -L/Users/goretkin/.julia/config/juno_load_path.jlinstead of --load /Users/goretkin/.julia/config/juno_load_path.jl ?


incidentally, the juno_load_path.jl script is just so that the Juno installation doesn't affect the "default" environment at e.g. `~/.julia/environments/v1.5

let
    i = findlast(==("@v#.#"), LOAD_PATH)
    if i !== nothing
        LOAD_PATH[i] = LOAD_PATH[i] * "_juno"
        println("LOAD_PATH modified for Juno environment")
    end
end

Because my version of Atom.jl or Juno.jl was preventing me from updating Revise.jl. It is no longer an issue with the latest versions of those packages, but I like the principle of minimizing the impact of installing the Atom and Juno packages.