Skip to content

make the escape prompt logic able to handle context command name with… #393

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

Merged
merged 2 commits into from
Jul 14, 2025

Conversation

yzhangok
Copy link
Contributor

… special character and space

Problem

The context is not formatted correctly if there's an empty space

image

Solution

Instead of search for @, use the context list to construct regex used to find in the prompt text.

Screenshot 2025-07-10 at 7 49 41 PM

Tests

  • [ x ] I have tested this change on VSCode
  • I have tested this change on JetBrains
  • I have added/updated the documentation (if applicable)

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@yzhangok yzhangok requested a review from a team as a code owner July 11, 2025 02:50
laileni-aws
laileni-aws previously approved these changes Jul 14, 2025
@laileni-aws laileni-aws merged commit 663d973 into aws:main Jul 14, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants