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: Instance variables do not get autocompleted when typing below a multi-line struct literal #8872

Closed
KormexGit opened this issue Dec 27, 2024 — with GM Bug Reporter · 3 comments
Assignees
Labels
ide-bug Bugs with the GameMaker IDE project This issue has a sample project attached
Milestone

Comments

@KormexGit
Copy link

KormexGit commented Dec 27, 2024

Description

If you declare a struct literal across multiple lines in an object, anything typed below it will not receive autocomplete for ANY instance variables. If the struct is only a single line, then instance variables will autocomplete below the line they were declared on, but not before it like they would otherwise. The struct being empty or having variables inside does not make a difference.

GameMaker_XGaLIPTaoT.mp4

Steps To Reproduce

//will autocomplete when typing here, above the struct

struct = {
};

//will not autocomplete if typing here, below the struct
typeMe = true;

Which version of GameMaker are you reporting this issue for?

IDE v2024.11.0.179 Runtime v2024.11.0.227

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

Windows 10.0.22631.0

b20a4e63-56f9-4d23-ae66-63c7545b2e3e

@gm-bug-reporter gm-bug-reporter bot added ide-bug Bugs with the GameMaker IDE project This issue has a sample project attached labels Dec 27, 2024
@KormexGit
Copy link
Author

Image

This also prevents the argument tooltip from appearing for methods, it does not appear automatically and pressing ctrl + space does not make it appear

@stuckie stuckie moved this from Triage to Todo in Team Workload Jan 6, 2025
@stuckie stuckie added this to the 2024.13 milestone Jan 6, 2025
@zreedy
Copy link

zreedy commented Jan 21, 2025

Fixed, duplicate of #8992
(technically 8992 is the duplicate)

@zreedy zreedy closed this as completed Jan 21, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Workload Jan 21, 2025
@YYDan YYDan marked this as a duplicate of #8992 Jan 22, 2025
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload Jan 23, 2025
@mgeddesGM
Copy link

verified as of IDE v2024.1300.0.730 Runtime v2024.1300.0.741

@mgeddesGM mgeddesGM moved this from Ready for QA to Verified in Team Workload Jan 27, 2025
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 project This issue has a sample project attached
Projects
Status: Verified
Development

No branches or pull requests

4 participants