Microsoft/vscode
GitHub で見るThe new paste with imports feature broke line insertion
Open
#236,799 opened on 2024年12月22日
bugeditor-clipboardhelp wanted
Repository metrics
- Stars
- (74,848 stars)
- PR merge metrics
- (平均マージ 11h 43m) (30d で 1,000 merged PRs)
説明
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 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f) OS version: Windows_NT x64 10.0.19045 Modes:
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 7 5700G with Radeon Graphics (16 x 3793) |
| GPU Status | 2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: 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% |
| 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)
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