-
Notifications
You must be signed in to change notification settings - Fork 773
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
Custom operations are at the top of completion list & remove active pattern values from the list #4831
Custom operations are at the top of completion list & remove active pattern values from the list #4831
Conversation
…onds to a computation expression
It also fixes #4832 (VS NUnit 3 Test Adapter is unable to discover any test, so I cannot run the new tests locally, chances are they will fail on CI). |
That's great news vasily. Hope to see it in FCS soon since we are about to
do a lot of Saturn soon.
Vasily Kirichenko <notifications@github.com> schrieb am Sa., 5. Mai 2018,
10:11:
… It also fixes #4832
<#4832>
[image: image]
<https://user-images.githubusercontent.com/873919/39660907-14bb699a-5051-11e8-898d-1c17bdfa658d.png>
(VS NUnit 3 Test Adapter is unable to discover any test, so I cannot run
the new tests locally, chances are they will fail on CI).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4831 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNLU2BR5xQ3FWiXg88UdykP4eqiDqks5tvV6rgaJpZM4TzNcg>
.
|
@forki To move custom operations to the top of completion list in Ionide, it must sort items by kind itself (in FSAC, I think). This PR expose |
Ok thanks. Paging @Krzysztof-Cieslak who is conveniently in charge of
ionide and Saturn ;-)
Vasily Kirichenko <notifications@github.com> schrieb am Sa., 5. Mai 2018,
10:31:
… @forki <https://github.com/forki> To move custom operations to the top of
completion list in Ionide, it must sort items by kind itself (in FSAC, I
think). This PR expose CustomOpation kind for items, but the sorting is
done in FSharp.Editor, which is not a part of FCS and works in VS only.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4831 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNA1qneMS2VTC4eClYyhJbXe80jibks5tvWNhgaJpZM4TzNcg>
.
|
Nope 😄 |
Testing this out right now. I have two thoughts, neither of which are related to the PR:
|
…t-the-top-in-completion
@cartermp I confirm the sorting does not work on Saturn's |
… corresponds to a computation expression" This reverts commit 4548ca2.
The fix for #4832 was wrong. It turns out for the following code let _ =
query {
for i in 1..10 do
<* cursor *>
} at the cursor position there is no name resolution environment for the entire CE, and the "smart" algorithm of |
…t-the-top-in-completion # Conflicts: # vsintegration/src/FSharp.Editor/Completion/CompletionProvider.fs
It's ready. |
…ion list" This reverts commit c26b24c.
…t-the-top-in-completion
@TIHan / @KevinRansom / @brettfo / @Pilchie we should consider this for 15.8 P4 |
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.
This is a very reasonable change. Looks good to me.
@dotnet-bot test this please |
@dotnet-bot no longer works :-( so closing and reopen is the way until we get a new way. |
@vasily-kirichenko thanks for this mate. Nice work. Kevin |
❤️ |
…attern values from the list (dotnet#4831) * custom operations are at the top of completion list * do not pick rhs NameResolutionEnvironment in completion if it corresponds to a computation expression * Revert "do not pick rhs NameResolutionEnvironment in completion if it corresponds to a computation expression" This reverts commit 4548ca2. * fix after merge * put active patterns (as functions) to the very end of completion list * filter out active patterns-as-value from completion list * Revert "put active patterns (as functions) to the very end of completion list" This reverts commit c26b24c.
This fixes #4829