radon-project / radon

The Radon Programming Language
https://radon-project.github.io
GNU General Public License v3.0
21 stars 2 forks source link

Experimental errors color support. #121

Closed Almas-Ali closed 2 months ago

Almas-Ali commented 2 months ago

I just updated base error texts with a coloring module, which is newly added as experiment.

Almas-Ali commented 2 months ago

Hey, @angelcaru What is your opinion on this feature?

angelcaru commented 2 months ago

I think the blue on the filenames looks a little ugly. Maybe you could change that to a lighter blue?

Almas-Ali commented 2 months ago

I think the blue on the filenames looks a little ugly. Maybe you could change that to a lighter blue?

I think it's fine. Did you checked Python3.13.0a5 experimental exception colors?

angelcaru commented 2 months ago

Yes I did, they look very similar to yours

Almas-Ali commented 2 months ago

Yeah, I tried to make it as similar as possible. Also changed the Traceback to Radiation. Looks cool.

angelcaru commented 2 months ago

Screenshot lun 29 abr 2024 21:38:57 CEST Top is mine, bottom is yours. I think mine looks a lot better

Almas-Ali commented 2 months ago

You mean the file path color? I think my console is showing some different way that color!

angelcaru commented 2 months ago

Can you send a screenshot? Also put both colors in the screenshot like me (all I changed was the color of Log.deep_info() from BLUE to LIGHTBLUE)

Almas-Ali commented 2 months ago

Ooh, I found my console opacity is down graded by ~10%. 💩

Almas-Ali commented 2 months ago

All fine now?

angelcaru commented 2 months ago

Yes! P.S.: I checked Python 3.13's coloring again and it's completely different! Not like it matters, I actually like yours more in this case

Almas-Ali commented 2 months ago

Yeah, Python3.13.0a5 is using poor colors.