kiyoon / jupynium.nvim

Selenium-automated Jupyter Notebook that is synchronised with NeoVim in real-time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Enhancing Neovim's 'LoadFromIpynbTab' for Auto-File Creation in Empty File Openings"

strikoder opened this issue · comments

commented

The plugin is presently unable to activate "LoadFromIpynbTab/LoadFromIpynbTabAndStartSync" unless it is launched via a ju.py file. Improving the plugin to enable automatic file creation when opening an empty buffer would greatly enhance its functionality and user experience.

screenshot_2024-01-07-230328

You can manually attach to the Jupynium server and the option will be shown. Use :JupyniumAttachToServer

To explain, in order to understand the tab from firefox, your new neovim instance needs to be attached to Jupynium first. Without this, you will only see limited options such as attaching to the server.
You can configure this in your own way by calling that command during neovim startup, which I don't recommend because it will cause some delay during startup. But you can still make your own command that does this two automatically sequentially.

commented

Oh, I'm really sorry, I forgot to connect, the actual error is "Failed to load from ipynb tab"
screenshot_2024-01-08-114008

commented

However, if I created a file, it works. I.e: the nvim can not connects or connects & sync if I didn't open a file through nvim
screenshot_2024-01-08-114241