Changing Jupyter Traceback error highlighting
Answered
Hi there! What's the setting to change highlighting in the Traceback output of DataSpell? Or can I change the rules so that highlighted text has a different font colour so that it stands out better? Image below should show what I mean. Thanks very much :-)
Please sign in to leave a comment.
i agree, this is annoying :(, i would also like to know how to change the highlighting of the traceback
Hi Matias. Thank you for creating the ticket on YouTrack https://youtrack.jetbrains.com/issue/DS-4833/traceback-annoying-yellow-highlights. Please follow the discussion.
Also, as long as the highlighting goes from `IPython`, see a possible workaround https://github.com/ipython/ipython/pull/13756.
In this example, we're using the
traitlets.config.Config
class to create a new configuration object.Target MyBalanceNow We then set theApplication.log_datefmt
andApplication.log_format
attributes to the desired values. Finally, we create an instance of theNotebookApp
class with the custom configuration object.With this configuration, the error traceback will be displayed in the format specified by the
log_format
attribute, including the timestamp in the format specified by thelog_datefmt
attribute. You can customize these attributes further to suit your specific needs.The highlighted text is now in a different font color and style.
I hope this helps!