-
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
Don't report rude edits for using declaration changes #51977
Conversation
@tmat in case you hadn't seen this |
src/Compilers/CSharp/Test/Emit/Emit/EditAndContinue/EditAndContinueTests.cs
Outdated
Show resolved
Hide resolved
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.
Looks good modulo the ifdef in the test.
Let's also make the same change for VB - can be a separate PR.
Let's file an issue to follow up on in future (if necessary) to detect semantic changes caused by changed using directives and report warnings on them.
@@ -267,8 +267,6 @@ static void CheckForExperimentStatus(ITextView textView, Document document) | |||
roslynTrigger = new CompletionTrigger(CompletionTriggerKind.Snippets); | |||
} | |||
|
|||
var disallowAddingImports = _isDebuggerTextView || |
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.
@genlu for completion changes.
This doesn't actually fix the issue, but at least the items show up in completion. Somehow the session properties still have DisallowAddingImports set to true, but I haven't been able to work out where that comes from yet. I set breakpoints everywhere that its set to true, and they don't get hit ¯_(ツ)_/¯
Not going to block this PR on that though.
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.
Nevermind, cleaned out my hive and this does fix it. Caches be caching I guess? ¯\_(ツ)_/¯
|
Gonna merge this because it's Friday for me, and we can sneak it into P2. Gen I'll follow up with any completion changes you want. |
Fixes #10043
This turned out really straight forward. Let me know there are more tests to cover.