-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Colourising Method
representation for easier glancing
#40913
Comments
Method
representation for easier glancing
This would be great to get in a PR. Prepare for lots of bike-sheading about what colors to use for what though. With a little bit of luck, this might be able to make it into 1.7 (feature freeze June 1st) |
Cool! I'll whip one up then. Oh, we can also bikeshed about supporting terminal file hyperlinks (like |
Funny that someone else made a PR for the exact same thing a bit over a month ago 😆. Missing the "show" keyword in the thread caused me to miss it when searching, thanks for linking it @thofma. Should I close my PR or leave it open to discuss what I have there? |
Honestly, I think this color scheme is probably better than the one in 40251. I'd probably move discussion to the PR, and we can try to get it merged soon. |
I think this should be optional and configurable. |
Probably best for discussion to be in the PR, now that it exists, but if there's going to be configuration for Julia REPL colourisation — either a global Bool or more granular structure would be the way to go, wouldn't it? If so, that seems like it would be a discussion beyond the scope of this change (even if prompted by this), considering the number of ways Julia currently outputs coloured text. |
Hello!
I love being able to see all the various implement methods, or methods using a certain type in Julia.
However, I didn't find it easy to find what I was looking for at a glance. Particularly for functions with many (tens-hundreds) of implementations. So, I've tried adding a bit of colour. I've found it really helpful, and think it would be good if something like it were the default.
Happy to make a PR, or just see my work used.
Example
Current output for
methods(sum)
My output for
methods(sum)
Code
The text was updated successfully, but these errors were encountered: