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

jupyter notebooks cells get formatted as markdown #72

Open
nonoash opened this issue Feb 1, 2023 · 2 comments
Open

jupyter notebooks cells get formatted as markdown #72

nonoash opened this issue Feb 1, 2023 · 2 comments

Comments

@nonoash
Copy link

nonoash commented Feb 1, 2023

Hello,

I know jupyter notebooks aren't completely supported but my problem is that i can't use it at all, as no matter 'format code' or 'format whole file' option, upon formatting it turns all my cells into markdown, which is unusable. I have ticked the jupyter support in the options of Blackconnect.
Not sure if i'm doing something wrong or if it's the current state at the moment?

Do you know if this problem would persist if I use the method as external tool or file watcher ?

@lensvol
Copy link
Owner

lensvol commented Feb 13, 2023

Thank you for reporting this!

Proper Jupyter support is a priority for us; it will be there in one of the future releases.

For the moment, I would recommend using black as an external tool started by a File Watcher. This will suit your use-case more.

@nonoash
Copy link
Author

nonoash commented Feb 14, 2023

Thank you for reporting this!

Proper Jupyter support is a priority for us; it will be there in one of the future releases.

For the moment, I would recommend using black as an external tool started by a File Watcher. This will suit your use-case more.

Good to know, looking forward to the new version.
I tried with filewatcher, it does works but unfortunately i'm getting a pycharm error that i can't "undo" anything anymore if write code and then undo (ctrl+z)for whatever reasons i can't revert back, so it's a no-go.

I'll just wait for your version as, among all 3, it's the fastest and less resource intensive. Thanks.

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

No branches or pull requests

2 participants