Skip to content

"Run selection/line in Python terminal" does not copy the code into the terminal from the start of the selection #174

@DonJayamanne

Description

@DonJayamanne

From @dalyIsaac on August 12, 2017 0:45

Environment data

VS Code version: 1.15.0
Python Extension version: 0.7.0
Python Version: 3.6.1
OS and version: Windows 10 (OS Build 16257.1) Pro

Actual behavior

After selecting an area of code and the option to "Run selection/line in Python terminal", code is copied into the terminal, but not from the start of the selection.
2017-08-12_12-32-43
Repeatedly trying to "Run selection/line in Python terminal", after closing the terminal each time results in the code copied into the terminal starting at different points each time.
2017-08-12_12-42-08

Expected behavior

All the code is copied into the Python terminal

Steps to reproduce:

  • Select some code
  • Right click
  • Click "Run selection/line in Python terminal"

Logs

Output from Python output panel
N/A
Output from Console window (Help->Developer Tools menu)
N/A

Copied from original issue: DonJayamanne/pythonVSCode#1163

Metadata

Metadata

Assignees

Labels

area-terminalbugIssue identified by VS Code Team member as probable bugwindows

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions