-
Notifications
You must be signed in to change notification settings - Fork 842
Remove trailing semicolon analyzer & code fix and Refactor lexer logic in helpers into a MEF class #2102
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
Remove trailing semicolon analyzer & code fix and Refactor lexer logic in helpers into a MEF class #2102
Conversation
|
This one should be run against the compiler itself ;-) |
KevinRansom
left a comment
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 great
|
Renamed the PR to reflect that this PR is two things:
|
|
@dotnet-bot test this please |
…haracter is the semicolon
…tead of ToString + GetHashCode for text line unique key eliminate a seq and an array allocation in ColorizationService
# Conflicts: # vsintegration/src/FSharp.Editor/Classification/ColorizationService.fs # vsintegration/src/FSharp.Editor/InlineRename/InlineRenameService.fs # vsintegration/src/FSharp.Editor/QuickInfo/QuickInfoProvider.fs
|
@vasily-kirichenko conflicts + ton of errors Kevin |
…icolon # Conflicts: # vsintegration/src/FSharp.Editor/Common/CommonHelpers.fs # vsintegration/src/FSharp.Editor/srFSharp.Editor.fs
|
@KevinRansom done |
|
It's ready. |
KevinRansom
left a comment
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 great
|
@vasily-kirichenko |
…icolon # Conflicts: # vsintegration/src/FSharp.Editor/CodeFixes/ImplementInterfaceCodeFixProvider.fs # vsintegration/src/FSharp.Editor/Common/CommonHelpers.fs
|
Fixed. |
|
@vasily-kirichenko |
…icolon # Conflicts: # vsintegration/src/FSharp.Editor/CodeFixes/AddOpen.fs # vsintegration/src/FSharp.Editor/Completion/CompletionProvider.fs
|
Everything is ok in master. I'll remove the code fix, it seems it makes more harm than usefulness. |
|
Oookey, |

;tokenFSharpTokenizerLexState * Location>, if aFSharpTokenizerLexStatehas changed since last time, ask the lexer cache forall tokens * FSharpTokenizerLexStateand update our cache