-
Notifications
You must be signed in to change notification settings - Fork 57
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
Does auto-completion on pipe operator only worked for type t in Module? #792
Comments
This is about resolving type aliases. When resolving type aliases, we stop at For types that aren't aliases, you'll get completions from the full module. |
So, if a type |
Another point i think is also very useful is auto completion of aliased module, if a type |
I think aliased record types should expand as well, except if they are private. Currently, I copy a lot of type definitions over to have autocomplete. This does not feel right. |
Can you write a few examples of what that means and what the trade offs would be? |
Sorry but I still don't understand the problem. That failing test is for a hover, but here you're talking about autocomplete. And this issue is about pipe autocompletion specifically. Could you clarify exactly what the problem(s) are and how they relate to this issue (pipe completion)? |
@zth Hi, i think @fhammerschmidt means that when we define a type |
Sorry for hijacking this issue, and for using hover and autocomplete synonymous. I tested autocomplete and it works for aliased records (I thought it does not), but not hover. |
See the gif screen-shot below:
The example code is here:
envrionment info: rescript v10.1.2 rescript-vscode v1.18.0
I have debugged the analysis, the auto completion for
m->
walked into this switch, the variable pathRev is an empty list, is auto completion for normal type (not type t of a module) not considered for now?The text was updated successfully, but these errors were encountered: