Comment
Comment by bobbylarrybobby
I usually go the other route: instead of trying to get Jupyter notebooks to behave like my favorite editor, I try to get my favorite editor to behave like a Jupyter notebook. In vscode, the python extension can convert back and forth between python files and Jupyter notes books, and can run python files like Jupyter notebooks (with cells).