Skip to content
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 show completionlist completion after dot #18788

Merged
merged 1 commit into from
May 19, 2017
Merged

Conversation

rchande
Copy link
Contributor

@rchande rchande commented Apr 18, 2017

Customer scenario

Customer starts using a member from System.Pens, System.Brushes, etc. (Any type that uses the completionlist XML documentation tag). They insert one item but want to replace it with a different item. Intellisense gets in their way and inserts Pens.Blah again instead of Blah

Bugs this fixes:

#18787

Workarounds, if any

None

Risk

Very low, we now just check to see if the target token is a dot token.

Performance impact

Very low, we actually will show completionlist completion less than we did before.

Is this a regression from a previous update?

No

Root cause analysis:
This was a test hole, a test has been added to cover the scenario.

How was the bug found?

Customer reported

@rchande
Copy link
Contributor Author

rchande commented Apr 18, 2017

Tag @dotnet/roslyn-ide for review

@rchande
Copy link
Contributor Author

rchande commented Apr 18, 2017

retest this please

@rchande
Copy link
Contributor Author

rchande commented Apr 18, 2017

@dotnet/roslyn-infrastructure I'm encountering problems with CSharpSyntaxTest that aren't related to my change:

rror CS0103: The name 'CreateCompilationWithMscorlib' does not exist in the current context [D:\j\workspace\windows_deter---bd1d49d3\src\Compilers\CSharp\Test\Syntax\CSharpCompilerSyntaxTest.csproj] CSharpScriptingTest -> D:\j\workspace\windows_deter---bd1d49d3\Binaries\Debug\Dlls\CSharpScriptingTest\Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests.dll

Known?

@tmat
Copy link
Member

tmat commented Apr 18, 2017

Should be fixed now.

@rchande
Copy link
Contributor Author

rchande commented Apr 18, 2017

@tmat Thanks!

@rchande
Copy link
Contributor Author

rchande commented Apr 18, 2017

retest this please

@rchande
Copy link
Contributor Author

rchande commented Apr 19, 2017

retest windows_debug_vs-integration_prtest

@rchande
Copy link
Contributor Author

rchande commented Apr 19, 2017

retest windows_release_unit32_prtest

@rchande
Copy link
Contributor Author

rchande commented Apr 26, 2017

retest this please

@rchande
Copy link
Contributor Author

rchande commented Apr 26, 2017

Failures unrelated. Anyone else on @dotnet/roslyn-ide want to review?

@jasonmalinowski
Copy link
Member

@dotnet-bot retest this please.

@rchande
Copy link
Contributor Author

rchande commented Apr 26, 2017

Tag @MattGertz for ask mode approval

@MattGertz
Copy link
Contributor

Approved pending tests.

@rchande
Copy link
Contributor Author

rchande commented Apr 27, 2017

retest perf_correctness_prtest

@rchande
Copy link
Contributor Author

rchande commented Apr 27, 2017

retest windows_release_vs-integration_prtest

1 similar comment
@rchande
Copy link
Contributor Author

rchande commented May 19, 2017

retest windows_release_vs-integration_prtest

@rchande rchande merged commit 10b47b7 into dotnet:master May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants