Changing Jupyter Traceback error highlighting


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 :-)


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 Please follow the discussion.

Also, as long as the highlighting goes from `IPython`, see a possible workaround


In this example, we're using the traitlets.config.Config class to create a new configuration object.Target MyBalanceNow We then set the Application.log_datefmt and Application.log_format attributes to the desired values. Finally, we create an instance of the NotebookApp 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 the log_datefmt attribute. You can customize these attributes further to suit your specific needs.

Code snippet
Traceback (most recent call last):
  File "<ipython-input-1-0113390f4f93>", line 1, in <module>
    1 / 0
ZeroDivisionError: division by zero

The highlighted text is now in a different font color and style.

I hope this helps!


Please sign in to leave a comment.