You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Rust, the language server will suggest adding a generic type parameter to the struct if it has a field with a generic (unknown) type:
structGenericStruct{field:T,}
If possible, this might be nice for Gleam as well:
typeGenericType{GenericType(field: t)}
The text was updated successfully, but these errors were encountered:
JosephTLyons
changed the title
LSP: Support for suggesting adding a missing generic parameter type to types
LSP: Support for suggesting adding a missing generic parameter to types
Jan 9, 2025
In Rust, the language server will suggest adding a generic type parameter to the struct if it has a field with a generic (unknown) type:
If possible, this might be nice for Gleam as well:
The text was updated successfully, but these errors were encountered: