This is inspired by spyder-ide/spyder-notebook#134. Users of the spyder-notebook plugin expect to open a notebook using File > Open. At the moment, this causes the notebook to be opened in the editor, which is not so useful. Somehow the notebook plugin (or any other plugin) should be able to indicate that it should be used to open files of a particular type.
Maybe the plugin initialization code should include a call like:
register_file_extension('.ipynb')
When the user opens a file with that extension, Spyder calls the plugin's load() function, similar to Editor.load().
This is inspired by spyder-ide/spyder-notebook#134. Users of the spyder-notebook plugin expect to open a notebook using
File
>Open
. At the moment, this causes the notebook to be opened in the editor, which is not so useful. Somehow the notebook plugin (or any other plugin) should be able to indicate that it should be used to open files of a particular type.Maybe the plugin initialization code should include a call like:
When the user opens a file with that extension, Spyder calls the plugin's
load()
function, similar toEditor.load()
.