python-snippets
python-snippets copied to clipboard
Suggestion: Make compatible with .ipynb extensions
Hi.
This extension seems to me the best of all for Python development. However, when using the Jupyter Notebook extension for VSCode, the snippets doesn't work. I think it's because this extension doesn't work for *.ipynb extension files. Please, in a next release could you add this file types? Thank you so much.
Seems like the original creator has lost interest in this project. Too bad. Maybe there's a maintained fork somewhere.
@pohlt I need help to support the *.ipynb
extension, you're welcome :-)
I have an idea on why the snippets doesn't work when you open the *ipynb
files: the scope is of language is "python", maybe a "python, ipynb" (I guess on the second one) could work. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-scope for other information.
@jeluengasm the good and the bad of the social coding :-)
Btw, all PRs are welcome! The project is still alive.
I've the jupyter extension installed and I tried to open a ipynb
file in VSCode.
Then I added a code
section and I selected the language mode to Magic Python
.
The snippet extension works like a charm.