vscord icon indicating copy to clipboard operation
vscord copied to clipboard

Add .ipynb support

Open siritoei opened this issue 3 years ago • 15 comments

Still doesn't working with Jupyter Notebook .ipynb files? Now, It only shows Idle status.

siritoei avatar Oct 22 '22 22:10 siritoei

ah ig i havent adde ipynb support, will work on it.

xhayper avatar Oct 23 '22 01:10 xhayper

Great job!!, now it works.

siritoei avatar Oct 23 '22 10:10 siritoei

this support for ipynb still needs tons of planning and work, we are planning to support ipynb variables too, so this gonna make a while.

xhayper avatar Oct 23 '22 10:10 xhayper

It showed {filename} of .ipynb when I opened VScode. But after I reload the required extension It doesn't work again and just shows the idle state as before. I will wait. Thank you!

siritoei avatar Oct 23 '22 10:10 siritoei

beware that ipynb is not high priority right now, because v5 just came out, right now trying to find all bug and fix it is high priority,

also ipynb support would require tons of codebase change too

xhayper avatar Oct 23 '22 11:10 xhayper

I noticed that ipynb is listed within the languages file https://github.com/leonardssh/vscord/blob/main/src/data/languages.json but it still isn't working. At least, when you're running a cell.

Infinitay avatar Sep 19 '23 15:09 Infinitay

VSCode has intergration with jupyter notebook and requires other api to check the jupyter notebook status which might explain why it doesnt show status when running one

xhayper avatar Sep 20 '23 00:09 xhayper

Is this being worked on or does the above mentioned issue prevent this feature from ever working?

Cyanosite avatar Mar 26 '24 23:03 Cyanosite

I find it hard to believe that this doesn't work. I just checked @Infinitay 's mentioned link and made a wild guess without checking the actual code that this might be the problem of the catching of regex patterns sequentially and it works fine on other extensions but doesn't work fine on .ipynb files. Someone please confirm if that is the issue.

AvishakeAdhikary avatar May 23 '24 08:05 AvishakeAdhikary

I am on Ubuntu using VSCode via .deb file installation method, and I can confirm on a new installation of the extension, without the Microsoft's Jupyter Extension for Visual Studio Code, the Jupyter Notebook .ipynb files show the line number and project of the Jupyter Notebook .ipynb files, which in other words works. But as soon as the mandatory Microsoft's Jupyter Extension for Visual Studio Code is installed to run the .ipynb files, the Discord Rich Presence extension stops working, saying on Jupyter Notebook .ipynb files that it is Idling @xhayper

cataluna84 avatar Jun 17 '24 05:06 cataluna84

Jupyter notebook use different api than nornal document thats why we need to add support for it

xhayper avatar Jun 17 '24 05:06 xhayper

I dont have the time nor the motivation to do it right now, i have to prepare to enter a college

xhayper avatar Jun 17 '24 05:06 xhayper

I dont have the time nor the motivation to do it right now, i have to prepare to enter a college

Best of luck with the tedious process

cataluna84 avatar Jun 17 '24 17:06 cataluna84