Skip to content

Remove Python and R debugger calls from an open text file in Sublime Text 3

Notifications You must be signed in to change notification settings

DexGroves/SublimeDedebug

Repository files navigation

SublimeDedebug

Remove Python and R debugger calls from an open text file in Sublime Text 3.

Tired of being shamed by friends, family and coworkers for forgetting to remove a pdb call in a commit? Despair no longer!

Removes any instance of import pdb, pdb.set_trace(), import pdb; pdb.set_trace() or browser() from a source file.

Installation (with Package Control)

  1. Add https://github.com/DexGroves/SublimeDedebug as a repository. (ctrl+shift+p, 'add respository')
  2. Install SublimeDedebug (ctrl+shift+p, 'install package', 'sublimededebug')

Shortcut

Tools > Dedebug This File

ctrl+alt+e.

Roadmap

  • Support for projects
  • Only activate if operating in Python, R or R-Extended syntax.

About

Remove Python and R debugger calls from an open text file in Sublime Text 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages