Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing tab on Context selector duplicates the subsequent text if it exists #221

Closed
ege0zcan opened this issue Jan 9, 2025 · 0 comments · Fixed by #224
Closed

Pressing tab on Context selector duplicates the subsequent text if it exists #221

ege0zcan opened this issue Jan 9, 2025 · 0 comments · Fixed by #224
Labels
bug Something isn't working

Comments

@ege0zcan
Copy link
Contributor

ege0zcan commented Jan 9, 2025

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 like workspace, 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

@ege0zcan ege0zcan added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant