-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix completions in range expressions #66959
Fix completions in range expressions #66959
Conversation
...esAndExtensions/Workspace/CSharp/LanguageServices/CSharpTypeInferenceService.TypeInferrer.cs
Outdated
Show resolved
Hide resolved
c03e0ef
to
51337b9
Compare
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.
Thanks!
@CyrusNajmabadi Do the And also enable auto-merge please |
/azp run |
Azure Pipelines successfully started running 4 pipeline(s). |
...haredUtilitiesAndExtensions/Workspace/CSharp/Extensions/ContextQuery/SyntaxTreeExtensions.cs
Outdated
Show resolved
Hide resolved
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/SymbolCompletionProviderTests.cs
Show resolved
Hide resolved
...haredUtilitiesAndExtensions/Workspace/CSharp/Extensions/ContextQuery/SyntaxTreeExtensions.cs
Show resolved
Hide resolved
Thanks! |
Head branch was pushed to by a user without write access
@CyrusNajmabadi Updated test that previously checked for no completions after |
src/EditorFeatures/Test2/IntelliSense/CSharpCompletionCommandHandlerTests.vb
Outdated
Show resolved
Hide resolved
src/Features/CSharp/Portable/Completion/CompletionProviders/CompletionUtilities.cs
Outdated
Show resolved
Hide resolved
Thanks! |
@CyrusNajmabadi The result of not treating |
Completion should not be triggered here on dot. |
Well, failed test verify opposite, e.g.: roslyn/src/EditorFeatures/Test2/IntelliSense/CSharpCompletionCommandHandlerTests.vb Lines 9711 to 9742 in 7347efa
Should I modify all such tests to invoke completion list explicitly? |
No. Update the test to show hte new behavior, and then have a new test that tests explicit-invoke. Thanks :) |
Head branch was pushed to by a user without write access
I've updated tests to verify both behaviours at the same time. We just verify that after typing the there is no completion session, then eplicitely invoke the list and verify everything else. This makes us avoid a lot of code duplication |
@CyrusNajmabadi PTAL |
Thanks! |
Fixes: #66903