Merge pull request #647 from yevhen-m/ipy_snippet

Add "ipy" snippet to embed IPython shell into the code
This commit is contained in:
Louis Pilfold 2015-11-21 13:25:23 +00:00
commit 6b8547dfd0

View File

@ -630,6 +630,10 @@ snippet pdb "Set PDB breakpoint" b
import pdb; pdb.set_trace() import pdb; pdb.set_trace()
endsnippet endsnippet
snippet ipy "Embed IPython shell" b
import IPython; IPython.embed()
endsnippet
snippet ipdb "Set IPDB breakpoint" b snippet ipdb "Set IPDB breakpoint" b
import ipdb; ipdb.set_trace() import ipdb; ipdb.set_trace()
endsnippet endsnippet