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

Code editor 2: Autocompleting functions with long names or lots of arguments places cursor after the added parenthesis instead of inside #7000

Open
KormexGit opened this issue Jul 30, 2024 — with GM Bug Reporter · 1 comment
Assignees
Labels
ide-bug Bugs with the GameMaker IDE
Milestone

Comments

@KormexGit
Copy link

KormexGit commented Jul 30, 2024

Description

If you autocomplete a function that has a ton of arguments or a very long name, the cursor will be placed after the () instead of inside. Examples of functions that do this are draw functions with lots of arguments like draw_sprite_ext or draw_sprite_general, and some of the very long named sequence functions like layer_sequence_get_headpos or layer_sequence_get_sequence.

GameMaker-Beta_akvM7iqdlB.mp4

Steps To Reproduce

Type draw_sprite_ext and use autocomplete.

Which version of GameMaker are you reporting this issue for?

IDE v2024.800.0.597 Runtime v2024.800.0.620

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

faefad57-7eba-4df9-a648-0558d7a5c9d7

@gm-bug-reporter gm-bug-reporter bot added the ide-bug Bugs with the GameMaker IDE label Jul 30, 2024
@stuckie stuckie moved this from Triage to Todo in Team Workload Jul 30, 2024
@stuckie stuckie added this to the 2024.10 milestone Jul 30, 2024
@iampremo iampremo removed this from the 2024.10 milestone Aug 12, 2024
@zreedy zreedy added this to the 2025.1 milestone Nov 21, 2024
@zreedy zreedy moved this from Todo to In Progress in Team Workload Dec 11, 2024
@zreedy
Copy link

zreedy commented Dec 11, 2024

Fixed, there may be some undiscovered edge cases.
The issue was not with the length of the completion item but rather an incorrect inference on if the function had arguments or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide-bug Bugs with the GameMaker IDE
Projects
Status: In Progress
Development

No branches or pull requests

4 participants