julia icon indicating copy to clipboard operation
julia copied to clipboard

Apply syntax highlighting to Exprs in REPL

Open tecosaur opened this issue 1 year ago • 4 comments

As discussed on slack a while ago, it's now near trivial to make inspecting large Exprs much more pleasant with JuliaSyntax highlighting.

See the commit message for more details.

Screenshots

image

image

tecosaur avatar May 12 '24 12:05 tecosaur

If anyone's up for it, I think this should be a pretty quick and easy review & merge :slightly_smiling_face:

tecosaur avatar May 12 '24 15:05 tecosaur

@fredrikekre / @KristofferC any thoughts on the current version of the code?

tecosaur avatar May 15 '24 03:05 tecosaur

The current version seems ok to me at least. Does it still obey --color=no?

KristofferC avatar May 15 '24 09:05 KristofferC

Yep, since it's just printing via. StyledStrings now, and StyledStrings respects the colour property as expected.

tecosaur avatar May 15 '24 10:05 tecosaur

Bump @KristofferC / @fredrikekre

tecosaur avatar Jul 20 '24 14:07 tecosaur

This looks really simple and straight-forward to me, I hope it can be merged soon -- it's been ready (at least from my POV) for over 2 months

fingolfin avatar Jul 22 '24 11:07 fingolfin