microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
158.92k stars 27.79k forks source link

PowerShell intellisense in terminal replaces existing text with suggestion #212024

Open DJackman123 opened 2 weeks ago

DJackman123 commented 2 weeks ago

Type: Bug

Turn on VS Code-native intellisense for PowerShell in the terminal. Type the start of a command: Get-ChildItem - List of suggestions comes up, press Enter to take the first suggestion. Command is changed to: Get-ChildI-Path

VS Code version: Code 1.89.0 (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:09:22.859Z) OS version: Windows_NT x64 10.0.22635 Modes:

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995)| |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| |Load (avg)|undefined| |Memory (System)|63.69GB (40.00GB free)| |Process Argv|--crash-reporter-id 4e8321cf-1056-4779-be78-ab68dfb6e262| |Screen Reader|no| |VM|0%|
Extensions (9) Extension|Author (truncated)|Version ---|---|--- xml|Dot|2.5.1 auto-close-tag|for|0.5.15 copilot|Git|1.186.856 copilot-chat|Git|0.15.2024043005 todo-tree|Gru|0.0.226 vscode-dotnet-runtime|ms-|2.0.3 powershell|ms-|2024.2.1 vsliveshare|ms-|1.0.5918 msbuild-project-tools|tin|0.6.3
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 ccp1r3:30993539 dsvsc020:30976470 pythonait:31006305 showvideoc:31016891 chatpanelc:31018788 dsvsc021:30996838 f3je6385:31013174 pythoncenvpt:31022790 dwnewjupytercf:31035177 ```
meganrogge commented 1 week ago

Can you pls provide a gif and say what you expect vs what is actually happening so I am sure I understand?

DJackman123 commented 1 week ago

What's the easiest/recommended way to capture a gif? I haven't done that before.


From: Megan Rogge @.> Sent: Monday, May 6, 2024 9:49 AM To: microsoft/vscode @.> Cc: Author @.***> Subject: Re: [microsoft/vscode] PowerShell intellisense in terminal replaces existing text with suggestion (Issue #212024)

Can you pls provide a gif and say what you expect vs what is actually happening so I am sure I understand?

— Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F212024%23issuecomment-2096360836&data=05%7C02%7Cdavid.jackman%40microsoft.com%7Cd90f6a0e74c3467fbdef08dc6de40e47%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638506073483677525%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=sFZp8%2FaHO8S7vn%2B0ABq8pHRjQiZmKdKMgrp5olc%2Fcvs%3D&reserved=0 or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALZ4E65SNWKAHCLMHUBO4CLZA6Q67BFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVEZDOMRWHA4TIMRTURXGC3LFVFUGC427NRQWEZLMVRZXKYTKMVRXIX3UPFYGLLCJONZXKZKDN5WW2ZLOOSTHI33QNFRXHE4CUR2HS4DFVJZGK4DPONUXI33SPGSXMYLMOVS2QNBRHA4DCOJQGCBKI5DZOBS2K2LTON2WLJLWMFWHKZNKGIZDOOJQHA4TKMRUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKJSG4ZDMOBZGQZDHJ3UOJUWOZ3FOKTGG4TFMF2GK&data=05%7C02%7Cdavid.jackman%40microsoft.com%7Cd90f6a0e74c3467fbdef08dc6de40e47%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638506073483691865%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=RvVRc8hmNCOMfJWWwRz39HMJjbHBfA0qLgz6woaPX8Q%3D&reserved=0. You are receiving this email because you authored the thread.

Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=05%7C02%7Cdavid.jackman%40microsoft.com%7Cd90f6a0e74c3467fbdef08dc6de40e47%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638506073483703535%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=0OnxAa6fMfiSTN4GD7B6gBN9%2Bw63%2Fh3Siap3AVyl284%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=05%7C02%7Cdavid.jackman%40microsoft.com%7Cd90f6a0e74c3467fbdef08dc6de40e47%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638506073483712175%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=J5uHqolek5jin5wfVwrt9AOxyVm6nQqO1VhznDzLyyw%3D&reserved=0.

meganrogge commented 1 week ago

https://[gifcap](https://gifcap.dev/).dev/

DJackman123 commented 1 week ago

BugRepro