live-share icon indicating copy to clipboard operation
live-share copied to clipboard

The highlighted intellisense suggestion is reset for the host whenever a guest makes an edit to the same file as them

Open MaddyGuthridge opened this issue 2 years ago • 1 comments

Describe what happened: If I am choosing an intellisense suggestion (ctrl+space then up/down), any edits made by a connected guest within the same file as the host will reset the highlighted suggestion to be the top suggestion, meaning that exploring a long list of suggestions is possible if a guest is typing. It also means that I will often accept the wrong suggestion if the guest makes an edit just before I hit tab to accept the suggestion.

What was your system configuration? Product and Version [VS/VSCode]: 1.77.3 OS Version[macOS/Windows]: Fedora 37 Live Share Extension Version: v1.0.5864 Target Platform or Language [e.g. Node.js]: all

Steps to Reproduce / Scenario:

  1. Host starts typing an expression and presses Ctrl+Space to bring up intellisense suggestions
  2. Host uses down arrow key to explore the suggestions
  3. Guest edits the same file as the host
  4. The host's highlighted suggestion is reset to the first option

Please attach logs to this issue: logs.zip

Screenshots Screencast from 2023-05-07 23-07-32.webm

Observe that my highlighted option (line 79) keeps being reset to "next" each time that @IvyBlu makes an edit on line 81.

MaddyGuthridge avatar May 07 '23 13:05 MaddyGuthridge

Yep, ran into a similar issue to this as well. It's terribly frustrating. In my case I was pressing ctrl+i on a block of highlighted code and getting code suggestions from Copilot and when the guest would move around the file with their keyboard the entire copilot suggestion popup would just disappear along with everything you were typing! So much for that perfectly crafted prompt... :crying_cat_face:

goproslowyo avatar Jun 03 '23 10:06 goproslowyo