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

Weird things appear in autocomplete #76919

Closed
MewPurPur opened this issue May 10, 2023 · 6 comments · Fixed by #85196
Closed

Weird things appear in autocomplete #76919

MewPurPur opened this issue May 10, 2023 · 6 comments · Fixed by #85196

Comments

@MewPurPur
Copy link
Contributor

Godot version

4.0.2

System information

Ubuntu 22.04.1 LTS

Issue description

So far I've found these ones:

Screenshot from 2023-05-10 17-56-42
Screenshot from 2023-05-10 18-01-02

But there are likely more like them. They are invalid, at least in the context I encountered them here (at the beginning of a regular line of script)

Steps to reproduce

Type Anchor in the code editor.

Minimal reproduction project

N/A

@Sauermann
Copy link
Contributor

Sauermann commented May 10, 2023

Looks like a separated substring search:

  • ANC
    • get_pAreNt_Control
  • CONTAIN
    • is_loCal_transfOrm_NoTificAtIoN_enabled
    • update_CONfiguraTion_wArnINgs

My guess is, that this is intended behavior.

@kleonc
Copy link
Member

kleonc commented May 10, 2023

The behavior might be indeed intended but highlighting the matching part is clearly incorrect in some cases.

@MewPurPur
Copy link
Contributor Author

MewPurPur commented May 10, 2023

Yes, the highlighting is awkward, but look at "Anchor Offsets". It's not a real property

@ajreckof
Copy link
Member

ajreckof commented May 11, 2023

Will be fixed when #75746 is merged.

Edit : meant about strange highlighting not about the anchor offsets. Didn't see the last comment before commenting

@lmsonic
Copy link

lmsonic commented Jul 19, 2023

Tested on 4.1.1, can reproduce the Container Sizing, Anchor Offset and Anchor Points non existing properties showing up, whilst the highlighting and search looks fixed.
image
image

@AThousandShips
Copy link
Member

Those are categories, should be filtered out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants