vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Terminal intellisense suggestions eating up words before the cursor

Open AgFlore opened this issue 9 months ago • 1 comments

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.98.0
  • OS Version: Windows PowerShell 7.5.0

Steps to Reproduce:

  1. set terminal.integrated.suggest.enabled to true, and all others untouched.
  2. have a python file abcdef.py in the working directory
  3. open the terminal, key in py ./abcd, when the sugggestion pop up, use tab to enter in the suggestion
  4. expected should be py .\abcdef.py,
  5. —— but turns out to be .\abcdef.py. words before the suggestion is eaten.

I would say this hasn't been the behaviour until 1.98.0, though i haven't confirmed yet, as it was not convenient to install an old version.

https://github.com/user-attachments/assets/73936d04-5780-4a1f-8c67-939d8e03db87

AgFlore avatar Mar 07 '25 08:03 AgFlore

hmm... is this #241909 ?

tried it out in insider, the behaviour became still different: there be no (listed) suggestions at all, only grey inline suggetions.

(if the command was code, cd instead of py, there would be.)

"no more listed suggestion for py" i guess? if this would be the expected behaviour, then i would have to get used to it.

AgFlore avatar Mar 07 '25 09:03 AgFlore

Yep, this is now fixed.

meganrogge avatar Mar 10 '25 17:03 meganrogge