@edit opens up TextEdit on my mac, which is not great for editing (especially since it has no line numbering by default, which makes it difficult to jump to the function). How does one specify the editor (e.g. VSCode) to use when opening a file using
Presumably its the
EDITOR environment/BASH variable, it is in Linux. Also it should jump straight to the function, at least it does with emacs.
That did it. Unfortunately the repl won’t pass the line number to VSCode:
Unknown editor: no line number information passed. The method is defined at line 33.
ENV["JULIA_EDITOR"] = "atom"
might (mutatis mutandis) also work.