-
Notifications
You must be signed in to change notification settings - Fork 831
Do not show keywords in completion after dot #2762
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
Do not show keywords in completion after dot #2762
Conversation
forki
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💋
| asyncMaybe { | ||
| let! parseResults, parsedInput, checkFileResults = checker.ParseAndCheckDocument(filePath, textVersionHash, sourceText.ToString(), options, allowStaleResults = true) | ||
|
|
||
| //#if DEBUG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah... :)
| results.Add(completionItem)) | ||
|
|
||
| if results.Count > 0 && not declarations.IsForType && not declarations.IsError then | ||
| if results.Count > 0 && not declarations.IsForType && not declarations.IsError && List.isEmpty qualifyingNames then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isNil?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think isNil is used in the compiler and FCS exclusively. We should use normal functions in FSharp.Editor.
|
Thanks for this. Kevin |
No description provided.