Closed scott-dunbar closed 2 days ago
end is a GM keyword - you cannot use keywords in an enum
Only the keyword end shows this behaviour - the others should match or it should match them (my recommendation is that end should behave as the other keywords do)
I am aware that you should not use the keywords in this manner - this issue is that CE2 does not show that correctly and causes knockons with a specific keyword
but end
is a synonym for }
so you are finishing the enum
Closing as above
Description
Attempting to use the word end in an enum causes things like autocomplete to think it is no longer in an enum declaration. Rainbow brackets and code highlighting in general also becomes confused
https://api.gamemaker.io/api/github/downloads/45db4609-3d7e-4ddc-8e22-97e6667b45de
Expected Change
No response
Steps To Reproduce
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.1100 (Betas)
Which operating system(s) are you seeing the problem on?
No response
Are you running GameMaker from inside your Steam library?
None
Sample Package Attached?
Sample Project Added?