forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
Behaviour
Expected vs. Actual
Usually, running execSelectionInTerminal (either through the command palette with "Run the current line or selection in Python terminal" or my custom shortcut shift+enter) runs either the line where my cursor is in the python file or the selected line(s).
Now for some reason it does not work for the current line, only works when there is a selection.
Diagnostic data
- Python version (& distribution if applicable, e.g. Anaconda): 3.7.12
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
- Value of the
python.languageServersetting: Default
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
- When running current line:
- 2023-11-28 12:56:04.145 [info] > C:\custprog\miniconda3\envs\actifs\python.exe ~\.vscode\extensions\ms-python.python-2023.20.0\pythonFiles\normalizeSelection.py
- When running selection:
- 2023-11-28 12:57:11.610 [info] > C:\custprog\miniconda3\envs\actifs\python.exe ~\.vscode\extensions\ms-python.python-2023.20.0\pythonFiles\normalizeSelection.py
- 2023-11-28 12:57:11.752 [info] Send text to terminal: import pandas as pd
User Settings
Multiroot scenario, following user settings may not apply:
condaPath: "<placeholder>"
languageServer: "Pylance"
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 2419) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
| Load (avg) | undefined |
| Memory (System) | 15.73GB (2.14GB free) |
| Process Argv | --crash-reporter-id 14200c77-7202-4895-8988-cc31c0389c30 |
| Screen Reader | no |
| VM | 0% |
Extensions (14)
| Extension | Author (truncated) | Version |
|---|---|---|
| vscode-postgres | cko | 1.4.3 |
| vscode-dbml | mat | 0.3.5 |
| rainbow-csv | mec | 3.8.0 |
| prettify-json | moh | 0.0.3 |
| vscode-language-pack-fr | MS- | 1.84.2023111509 |
| data-workspace-vscode | ms- | 0.5.0 |
| mssql | ms- | 1.22.0 |
| sql-bindings-vscode | ms- | 0.4.0 |
| sql-database-projects-vscode | ms- | 1.4.1 |
| autopep8 | ms- | 2023.8.0 |
| python | ms- | 2023.20.0 |
| vscode-pylance | ms- | 2023.11.10 |
| tom | 1.2.2 | |
| markdown-pdf | yza | 1.5.0 |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30880072
vscaat:30438848
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
89544117:30613380
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30871694
pythonregdiag2:30871582
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016cf:30886111
dsvsc017cf:30886113
dsvsc018:30886114
aa_t_chat:30882232
Metadata
Metadata
Assignees
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team