Be able to provide string argument to python.datascience.execSelectionInteractive for extensibility.
See original GitHub issueFeature: Notebook Editor, Interactive Window, Python Editor cells
python.datascience.execSelectionInteractive
executes the current selection in the Interactive Window. How about a command that accepts a string argument and executes that in the Interactive Window? Other extensions could then call this to provide more complicated versions of python.datascience.execSelectionInteractive
, such as executing and advancing to the next line (#13495) or auto-detecting and executing whole code blocks (#4978).
It’s straightforward to send specified text to Python or IPython running in the terminal, but as far as I know there’s currently no way to send specified text to the Interactive Window. (Apologies if I’ve missed an existing command that allows this.)
Thank you.
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top GitHub Comments
Thanks for the suggestion, we will discuss this in our triage meeting.
Feature added in #5053.