Merge pull request #647 from yevhen-m/ipy_snippet
Add "ipy" snippet to embed IPython shell into the code
This commit is contained in:
commit
6b8547dfd0
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user