Skip to content

Send extra newline for 'Run Selection/Line in Python Terminal' to immediately execute #169

@DonJayamanne

Description

@DonJayamanne

From @ruben-aghayan on August 25, 2017 23:2

Environment data

VS Code version: 1.15.1
Python Extension version: 0.7.0
Python Version: 3.6.2
IPython Version: 6.1.0
OS and version: Windows 10 Enterprise 1703

Actual behavior

Pastes selected line(s) into IPython but does not run them. There is a new line at the end of the pasted text.

image

Observed ouptut from highlighting line or leaving cursor on line and issuing Run Selection/Line in Python Terminal command when IPython is default interpreter

Expected behavior

To run selected line(s)

Steps to reproduce:

  • Set IPython default interpreter
  • Issue Run Selection/Line command

Copied from original issue: DonJayamanne/pythonVSCode#1180

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions