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

fix: don't show context menu when max input lenght is 0 #213

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

Jurredr
Copy link
Contributor

@Jurredr Jurredr commented Dec 23, 2024

Problem

During the command confirmation step, users can still type @ to open the context suggestion menu. The @ itself does not get typed into the text area, but the overlay menu still opens.

Solution

The context menu does not open when max length of the prompt input is 0.

Tests

  • I have tested this change on VSCode
  • I have tested this change on JetBrains

License

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

@Jurredr Jurredr added the bug Something isn't working label Dec 23, 2024
@Jurredr Jurredr self-assigned this Dec 23, 2024
@Jurredr Jurredr requested a review from a team as a code owner December 23, 2024 16:22
@Jurredr Jurredr linked an issue Dec 23, 2024 that may be closed by this pull request
4 tasks
@Jurredr Jurredr merged commit 3c8eca7 into main Dec 23, 2024
2 checks passed
@Jurredr Jurredr deleted the jurredr/hide-context-menu branch December 23, 2024 16:44
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 this pull request may close these issues.

Context menu still showing up in command confirmation
2 participants