Comments (5)
Hi,
Another thing to consider: not just coloring the values, but also the variables, based on their types.
Now integers are purple(ish), strings are yellow, etc.
So in x = x + z[index] + 4 + text
You could make x green (None), z white and bold (array), index purple (because it is integer) , 4 purple, text yellow.
Another option: make all variables white if they have the same type,
or make white the majority of the variables, and color the outliers (either based on color scheme,
or just make it red as a type outlier)
from frosch.
This sounds like a lot of work, for creating and implementing these colouring strategies. Currently pygments is used, which colours everything as a whole. Which IMO is great and robust.
from frosch.
After merging the themes branch you can choose from > 20 different color themes, which should be sufficient enough for now. What also should be changeable is the color of the left line number (which is currently blue).
from frosch.
from frosch.
Don't get me wrong, I did not understand this as a complain :)
I see your point, you want more visual information, in terms of clearly seeing the outlier for example.
Which is a good thing, but maybe over the top for the moment. If you can give me a pull request I will happily review it
and we will see.
But for now I will put this in the back and work on the other suggestion you gave me from the other issues ;)
from frosch.
Related Issues (20)
- Multiline still not working with single parsable lines in statement HOT 10
- Handling internal errors to fall back on standard sys.excepthook
- Automatic injection of frosch in python interpreter HOT 1
- array/tensor refinement HOT 6
- Hook/provide hook for logging.exception HOT 1
- Notification Support HOT 2
- More configurability HOT 2
- print frosch debug info from an exception handler HOT 2
- Support for IPython / Jupyter Notebook
- TypeError: hook() got an unexpected keyword argument 'theme' HOT 3
- Testing source input with hypothesmith
- Print Debugging HOT 3
- Gitpod
- Custom themes? HOT 3
- Parsing error when exception occurs inside except handler
- Values with large reprs HOT 1
- Get IndexError when pressing CTRL-C HOT 1
- Read The Docs
- Windows 10 cmd/powershell not working HOT 2
- Doesn't work with multiline statements HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frosch.