2

Is it possible to make output clickable: clicking the traceback line takes you to the corresponding Python file in Sublime Text edit tab?

enter image description here

Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
  • You can patch the `traceback.print_exception` method but I do not know about sublime. You ask two questions. – User Nov 29 '13 at 14:38
  • Actually it is more like one question along the lines "What Sublime Text 2 features I need to use to make parts of command-line output clickable, so that ST2 maps them to open file on a line command". Thanks anyway. – Mikko Ohtamaa Nov 29 '13 at 14:42

2 Answers2

0

PythonTraceback plugin makes it easier to navigate in python exceptions. It will not make output clickable, but will allow to jump to a file in the traceback with couple of extra keystrokes. Check out plugin description for more info.

Andrey Lebedev
  • 429
  • 3
  • 10
0

Accidental discovery: you actually can double-click on python tracebacks in Sublime Text output window to open corresponding file on corresponding line in edit tab.

Andrey Lebedev
  • 429
  • 3
  • 10