The new paste with imports feature broke line insertionΒ #236799
Open
Description
opened on Dec 22, 2024
Type: Bug
- Copy a line with an importable thing by placing a caret on it (do not select the whole line manually) and pressing ctrl + c
- Go to a different file, place your caret on a line with content, and press ctrl + v.
- Instead of inserting the line above the line you were on (ie, so it occupies the line number of the line you had your caret on), instead it pastes as if you selected the text manually
If you copy a line without an importable thing it behaves normally
VS Code version: Code 1.96.2 (fabdb6a)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
Item | Value |
---|---|
CPUs | AMD Ryzen 7 5700G with Radeon Graphics (16 x 3793) |
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 skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
Load (avg) | undefined |
Memory (System) | 27.89GB (8.13GB free) |
Process Argv | --crash-reporter-id 787085c3-44cd-485b-8c68-3d372c652579 |
Screen Reader | no |
VM | 0% |
Extensions (17)
Extension | Author (truncated) | Version |
---|---|---|
find-and-replace-in-selected-files | Aar | 1.0.1 |
wayward-schemas | Aar | 1.6.1 |
go-to-character-position | dav | 2.0.1 |
vscode-eslint | dba | 3.0.10 |
azdo-pipeline-explorer | DHC | 0.15.0 |
gitlens | eam | 16.1.1 |
json-tools | eri | 1.0.2 |
vscode-commands | fab | 2.0.2 |
copilot | Git | 1.254.0 |
copilot-chat | Git | 0.23.2 |
vscode-github-actions | git | 0.27.0 |
vscode-env | Iro | 0.1.0 |
vscode-json5 | Kat | 1.0.1 |
vscode-scss | mrm | 0.10.0 |
hexeditor | ms- | 1.11.1 |
vsliveshare | ms- | 1.0.5941 |
errorlens | use | 3.22.0 |
(1 theme extensions excluded)
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
Metadata
Assignees
Labels
No labels
Activity