PythonTraceback
Easy navigation in your python tracebacks
Details
Installs
- Total 12K
- Win 6K
- Mac 3K
- Linux 3K
Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
PythonTraceback
PythonTraceback is a plug-in for Sublime Text, that allows easy navigation in
your python tracebacks. Copy a traceback from your terminal to clipboard,
switch to Sublime Text and press Ctrl+t
, Ctrl+v
. New scratch buffer will be
opened with the traceback. Place the cursor on a line you want to navigate to
and press Alt+d
: file will be opened at the line, specified in traceback.
While traceback window is open (but not necessarily active), you can navigate up
and down in traceback by pressing Alt-k
and Alt-j
respectively.
Pressing Ctrl+t
, Ctrl+v
again will replace traceback buffer with new
traceback from the clipboard.
If you are working on a project, traceback lines, that match your project' files, will be specially marked by little dots in gutter to make it simple to spot “own” files.
PythonTraceback will try hard to find local file that matches one, specified in traceback, even if it does not exists directly. If at least partial path can be found in one of your project folders, PythonTraceback will open the file for you. This is very useful for analyzing tracebacks from remote machines, where application is located in different directory.
Defined commands
PythonTraceback defines the following commands:
Command | Title | Default Key Binding |
---|---|---|
traceback_paste |
Traceback: Paste Traceback | Ctrl+t , Ctrl+v on PC or ⌘-t , ⌘+v on OSX |
traceback_goto_line |
Traceback: Go To Line | Alt+d |
traceback_go_up |
Traceback: Go Up | Alt+k |
traceback_go_down |
Traceback: Go Down | Alt+j |
Installation
To install this plugin, you have two options:
Package Control (recommended). If you have Sublime Package Control installed, simply search for
PythonTraceback
to install.Manual. Clone source code to Sublime Text
Packages
folder:
$ git clone https://github.com/kedder/sublime-python-traceback PythonTraceback