You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enable inlineChat.acceptedOrDiscardBeforeSave (should be on by default)
trigger inline chat again, get to make multiple changes (e.g ask it to use the assert-lib to check that some variable is a number)
Observe that the suggestions shifts focus away from the active line if the first code suggestion is NOT at the current line in the editor. See below gif for repro.
As a user, this experience is jarring. We should instead present the user with changes at the current line (if any) and then provide the option to shift focus away from the current line.
The text was updated successfully, but these errors were encountered:
Please add steps and a complete sample. This isn't about focus about positions and revealing them. Inline chat tries to reveal the best matching location (from where you are)
bhavyaus
changed the title
Inline chat with multiple changes shifts focus from where it was on the editor when invoked for multi line changes
Inline chat with multiple changes shifts focus and cursor to a suggestion on another line when invoked for multi line changes
Mar 25, 2024
As a user, this experience is jarring. We should instead present the user with changes at the current line (if any) and then provide the option to shift focus away from the current line.
Found when testing #208409
Copied repro steps from above TPI.
As a user, this experience is jarring. We should instead present the user with changes at the current line (if any) and then provide the option to shift focus away from the current line.
The text was updated successfully, but these errors were encountered: