From 8e4036f49f05d5533ac53365edf5509780d748a7 Mon Sep 17 00:00:00 2001 From: Bernhard Vallant Date: Tue, 23 Apr 2013 16:01:34 +0300 Subject: [PATCH 1/2] Adding ipdb snippet ipdb is not in the standard library, but every descent developer should use it... --- UltiSnips/python.snippets | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UltiSnips/python.snippets b/UltiSnips/python.snippets index 6dfe682..a2ef443 100644 --- a/UltiSnips/python.snippets +++ b/UltiSnips/python.snippets @@ -469,6 +469,10 @@ snippet pdb "Set PDB breakpoint" b import pdb; pdb.set_trace() endsnippet +snippet ipdb "Set IPDB breakpoint" b +import ipdb; pdb.set_trace() +endsnippet + snippet ae "Assert equal" b self.assertEqual(${1:first},${2:second}) endsnippet From b713714588dcf536919e8a2d8eddf2a85b2abab9 Mon Sep 17 00:00:00 2001 From: Bernhard Vallant Date: Tue, 23 Apr 2013 16:05:33 +0300 Subject: [PATCH 2/2] Correcting set_trace() statement --- UltiSnips/python.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UltiSnips/python.snippets b/UltiSnips/python.snippets index a2ef443..828b2a0 100644 --- a/UltiSnips/python.snippets +++ b/UltiSnips/python.snippets @@ -470,7 +470,7 @@ import pdb; pdb.set_trace() endsnippet snippet ipdb "Set IPDB breakpoint" b -import ipdb; pdb.set_trace() +import ipdb; ipdb.set_trace() endsnippet snippet ae "Assert equal" b