-
Notifications
You must be signed in to change notification settings - Fork 830
Remove old PatternMatcher copy in favor of built-in one #14746
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
Conversation
|
"One noticeable change is that now camel case search does not require typing in allcaps:" |
I could try, but I don't think we have any tests for NavigateToSearchService? |
|
@majocha it's never too late to start adding them :) I will also see if we can have any integration testing here. Thanks for this! I think I replaced another copy of it back in a day but missed this somehow. |
|
@psfinaki, I'm afraid I've hit a roadblock regarding testing this. Rolsyn still provides internals only to VisualFSharp.UnitTests https://github.com/dotnet/roslyn/blob/0d6ace528d0a142ab51be350e05e651fd053b629/src/Tools/ExternalAccess/FSharp/Microsoft.CodeAnalysis.ExternalAccess.FSharp.csproj#L24) In effect while FSharp.Editor.Tests does import Microsoft.CodeAnalysis.ExternalAccess.FSharp, it can't see the types needed here. |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
So integration testing should be possible here. Here is how it might look like: #14764 |
We have a very old copy of PatternMatcher from Roslyn repo in use by
FSharpNavigateToSearchService.Apparently there is a version of it provided by VS SDK now: IPatternMatcher Interface
I replaced the old PatternMatcher and manually verified:
One noticeable change is that now camel case search does not require typing in allcaps, which is in line with how C# search works.