Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Make compatible with .ipynb extensions #13

Open
jeluengasm opened this issue May 24, 2021 · 3 comments
Open

Suggestion: Make compatible with .ipynb extensions #13

jeluengasm opened this issue May 24, 2021 · 3 comments
Labels

Comments

@jeluengasm
Copy link

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.

@pohlt
Copy link

pohlt commented Aug 14, 2021

Seems like the original creator has lost interest in this project. Too bad.
Maybe there's a maintained fork somewhere.

@cstrap
Copy link
Owner

cstrap commented Oct 13, 2021

@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.

@cstrap
Copy link
Owner

cstrap commented Oct 13, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants