-
Notifications
You must be signed in to change notification settings - Fork 31
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
syntax highlight in traceback view #31
Conversation
It works, but not finished yet. Some code should be removed. To highlight current line I'm splitting source code to lines and wrapping it with |
prism.js looks like actively maintained, so why not |
I've never used prism but was happy with highlight.js. |
451d5dc
to
f5a6ecb
Compare
@stormandco sorry of delay I will review this PR as soon as resolve issue with interactive debugger |
@jettify no problem. I think it needs some cleanup in tbtools.py |
tbtools.py very dirty port that handles interactive console logic, tracebacks etc, ported from flask to pyramid_debugtoolbar and then here... I have not touched that much because I managed to make it work. To rewrite that chunk is bit tricky task. |
At least class |
sure, if it simplifies code greatly, it would be easer to refactor interactive console as result get rid of thread locals |
I'll take a look in few days. |
Sorry for long delay. |
No description provided.