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

Wrong auto completion with Input action names. #31

Open
1 of 2 tasks
gro-david opened this issue Oct 19, 2024 · 1 comment
Open
1 of 2 tasks

Wrong auto completion with Input action names. #31

gro-david opened this issue Oct 19, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@gro-david
Copy link

gro-david commented Oct 19, 2024

I'm submitting a...

  • Bug report.
  • Feature request.

Bug report

What is the current behavior?
When using Input.get_action_pressed() and similar functions, you need to type the name of the action as a string. If you start typing it the auto completion starts suggesting the correct action names, but with quotes. To trigger the autocomplete you still need to start a string either with double or single quotes, the resulting behavior is the same.

What is the expected behavior?
The auto completion should either start, without needing quotes to get triggered or the suggested completions should not include quotes.

Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.
Type the function Input.is_action_pressed(. Then you will need to start a string with either the single or the double quotes. Finally start typing the name of an action (eg. (ui_accept) and accept the auto completion. this will result in you having either '"ui_accept"' or ""ui_accept"" instead of either 'ui_accept' or "ui_accept".

@NathanLovato NathanLovato added bug Something isn't working help wanted Extra attention is needed labels Oct 24, 2024
@NathanLovato
Copy link
Contributor

NathanLovato commented Oct 24, 2024

Thank you for pointing this out! I still have had very little time to dive into how Zed works so I don't know why this might be happening. If anyone knows and beats me to figuring it out, help would be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants