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
I don't know how functional languages LSPs usually handle this case but it would be nice if suggestions after a pipe are functions that contain the type as the first parameter. i.e:
"hello"|>// <- This would only suggest functions that have String as the first parameter type
If there are multiple pipes, the suggestions should be related to the last output value.
"2"|>int.parse|>// <- This would only suggest functions that have Result as the first parameter type
The text was updated successfully, but these errors were encountered:
lpil
changed the title
LSP: auto complete suggestions on pipes
LSP: narrow complete suggestions after a pipe
Jun 20, 2024
I don't know how functional languages LSPs usually handle this case but it would be nice if suggestions after a pipe are functions that contain the type as the first parameter. i.e:
If there are multiple pipes, the suggestions should be related to the last output value.
The text was updated successfully, but these errors were encountered: