Love the project. Been a user for the past months.
I'm a big user of the external editor, since Euporie's editor experience is somewhat frustrating even with vim keybindings enabled.
One problem the external editor approach has is that if it's set up to work with ty or another LSP server, it won't work because imports are missing.
Would it be possible to add some changes to the external editor mode so all existing imports in the notebook (up to the given cell) are added at the beginning of the code in the editor, separated by a comment marker? Something like this:
# DON'T CHANGE, IMPORTS FROM NOTEBOOK
import torch
# WRITE YOUR CODE UNDER THIS LINE FOR CELL CHANGES
...
The idea is that the marker would help Euporie strip those imports when writing back the edited contents.
Thoughts?
Love the project. Been a user for the past months.
I'm a big user of the external editor, since Euporie's editor experience is somewhat frustrating even with vim keybindings enabled.
One problem the external editor approach has is that if it's set up to work with ty or another LSP server, it won't work because imports are missing.
Would it be possible to add some changes to the external editor mode so all existing imports in the notebook (up to the given cell) are added at the beginning of the code in the editor, separated by a comment marker? Something like this:
The idea is that the marker would help Euporie strip those imports when writing back the edited contents.
Thoughts?