Closed
Description
Problem
When adding the context selector in a cursor position that is before any text, writing the intended context and pressing tab causes the text after the cursor to be duplicated
I acknowledge that this is probably an edge case but I often found myself facing this issue in my usage of context selector. I find myself wanting to place the context selector at the beginning of a message after writing my prompt which triggers this issue
Steps to reproduce the issue
- Write some text into the prompt input
- Place your cursor directly to the left of any character and type
@
character followed by some text likeworkspace
, then press tab - You will get
@workspace
followed by a duplicate of your pre-existing text
context-selector-tab.mp4
Expected behavior
- Pressing tab shouldn't create duplicate of the words
System details
Tested both on the web demo as well as in VSCode Q