I would like to request that an option be added that would allow Smart Send to send selected code to the Juputer Interactive Window instead of the native Python REPL. The Jupyter add-in already allows a user to send a selection or the current line to the Interactive Window, but there is no Smart Send capability in that add-in.
As an example of implementation, if inside of sec/client/repl/replCommands.ts:registerReplCommands() the line
await nativeRepl.sendToNativeRepl(normalizedCode);
were replaced with
await vscode.commands.executeCommand('jupyter.execSelectionInteractive', normalizedCode);
then the function would have the desired behavior. Of course this would need to the wrapped inside of some setting that allows the user to toggle between whether they want to use the Interactive Window or the Python REPL.
I would like to request that an option be added that would allow Smart Send to send selected code to the Juputer Interactive Window instead of the native Python REPL. The Jupyter add-in already allows a user to send a selection or the current line to the Interactive Window, but there is no Smart Send capability in that add-in.
As an example of implementation, if inside of
sec/client/repl/replCommands.ts:registerReplCommands()the linewere replaced with
then the function would have the desired behavior. Of course this would need to the wrapped inside of some setting that allows the user to toggle between whether they want to use the Interactive Window or the Python REPL.