Make a PR to Julia! Stacktraces in 1.5 or 1.6 (I forget) are colored and much better because someone wrote a little code to make them prettier. It was a really active pr with about 40 different visual tweeks until everyone was happy, but the result was great!
Here’s the issue which Oscar is referencing: https://github.com/JuliaLang/julia/issues/36026 . I didn’t think people would’ve wanted this in Base and maybe something like OhMyREPL.jl is better suited to have such features. Definitely open an issue and discuss it. I would love something like this.
I strongly recommend Cthulhu.jl.
It displays with color / syntax highlighting, and also lets you descend into Julia functions called by the one you’re looking at.
The heuristic highlighting algorithm I wrote works on line-by-line basis and doesn’t (cannot) deal with the global structure or backtracking. For this reason, we have an option of creating a separate package which is independent of Cthulhu and using its low-level API in Cthulhu.