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

sfgml and Feather #20

Open
YellowAfterlife opened this issue Apr 17, 2022 · 0 comments
Open

sfgml and Feather #20

YellowAfterlife opened this issue Apr 17, 2022 · 0 comments

Comments

@YellowAfterlife
Copy link
Member

Feather (the GMS2's new linter, currently in beta) generally does a good job at indexing GML code, but struggles with Haxe-generated code due to use of nullability and overall complexity (e.g. enum constructors inherit from base constructor).

On larger projects, Feather's attempts to re-index Haxe-generated code can also degrade the IDE performance to the point of hanging for seconds whenever auto-completion menu gets brought up.

Since Feather doesn't currently accept JSDoc for variable types and typedefs, this isn't something that can be addressed, so the generator will output a // Feather disable all comment to resulting files.

GMEdit, on other hand, has fewer issues with indexing Haxe-generated files, though there is still work to do in terms of annotating Haxe types for GMEdit to pick up.

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

No branches or pull requests

1 participant