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

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

Open
strikoder opened this issue Jan 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@strikoder
Copy link

strikoder commented Jan 7, 2024

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

@strikoder strikoder added the enhancement New feature or request label Jan 7, 2024
@kiyoon
Copy link
Owner

kiyoon commented Jan 8, 2024

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.

@strikoder
Copy link
Author

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

@strikoder
Copy link
Author

strikoder commented Jan 8, 2024

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

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

No branches or pull requests

2 participants