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: "tryf" - try finally - snippet appears as a macro in the autocomplete list #8061

Open
2 tasks done
tinkerer-red opened this issue Oct 20, 2024 · 3 comments
Open
2 tasks done
Assignees
Labels
ide-bug Bugs with the GameMaker IDE
Milestone

Comments

@tinkerer-red
Copy link

Description

there is a macro lurking in the auto complete suggestions called tryf. Shows up in monthly and beta, but not LTS

image

Expected Change

imagine this is a typo and should be removed

Steps To Reproduce

type tr and wait for the auto complete

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

2024.8.1 (Monthly), 2024.1100 (Betas)

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

Windows 10

Are you running GameMaker from inside your Steam library?

None

Sample Package Attached?

  • I have attached my bug package

Sample Project Added?

  • I have included a small sample project
@tinkerer-red tinkerer-red added the ide-bug Bugs with the GameMaker IDE label Oct 20, 2024
@YYDan YYDan changed the title tryf macro Code Editor: Unexpected "tryf" macro appears in the autocomplete list Oct 21, 2024
@stuckie stuckie self-assigned this Oct 21, 2024
@stuckie stuckie moved this from Triage to Backlog in Team Workload Oct 21, 2024
@stuckie stuckie changed the title Code Editor: Unexpected "tryf" macro appears in the autocomplete list Code Editor: "tryf" - try finally - snippet appears as a macro in the autocomplete list Oct 24, 2024
@stuckie stuckie assigned zreedy and unassigned stuckie Oct 24, 2024
@stuckie
Copy link

stuckie commented Oct 24, 2024

This is actually a snippet for a Try ... Finally ... block

@zreedy
Copy link

zreedy commented Nov 19, 2024

The snippet tryf is a snippet in CE2, which is reported by Feather. It should only appear if CE2 is enabled and auto-complete into a try..finally block. CE2 is not enabled in LTS as of now and as such would not be seen in LTS. This is not a bug but rather expected behavior.
However, the label "macro" is incorrect as this is actually a "snippet" and that should be corrected.

@zreedy zreedy added this to the 2025.1 milestone Nov 19, 2024
@zreedy zreedy moved this from Backlog to Todo in Team Workload 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 for Code Editor 1. This snippet no longer shows when Feather and CE1 are Enabled.

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

3 participants