-
Notifications
You must be signed in to change notification settings - Fork 839
No IVTs for CodeLenses #6906
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
No IVTs for CodeLenses #6906
Conversation
| match func.FullTypeSafe with | ||
| | Some _ -> | ||
| let! displayEnv = checkFileResults.GetDisplayEnvForPos func.DeclarationLocation.Start | ||
| let! maybeContext = checkFileResults.GetDisplayContextForPos(func.DeclarationLocation.Start) |
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.
This is the call site change
…erenceResolver I'm not touching MSBuildReferenceResolver
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.
couple of small things.
vsintegration/src/FSharp.Editor/CodeLens/AbstractCodeLensDisplayService.fs
Outdated
Show resolved
Hide resolved
|
There is also the idea of ifdeffing the whole try/catch thing and just
don't catching at this level
Kevin Ransom (msft) <[email protected]> schrieb am Fr., 31. Mai
2019, 20:20:
… ***@***.**** commented on this pull request.
------------------------------
In
vsintegration/src/FSharp.Editor/CodeLens/AbstractCodeLensDisplayService.fs
<#6906 (comment)>:
> logExceptionWithContext(e, "Removing line lens")
+#endif
+ e |> ignore
+ ()
name it _e
or write it as ignore e then the e |>ignore makes me think the side
effects, of which there can be none are important.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6906?email_source=notifications&email_token=AAAOANB5RUMNHSS5CCAQIU3PYFT7NA5CNFSM4HRKBFV2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2JA5KI#discussion_r289501157>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAOANCIQWPSWWLALFSMDRTPYFT7NANCNFSM4HRKBFVQ>
.
|
|
@forki That might work for a few cases, but in others it's necessary to |
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.
Thank you.
* Don't expose Legacy MSBuildReferenceResolver * Move the files boss hoss * Remove unused opens * Fix tests * Remove IVT dependency for CodeLens and put logging behind a flag * oopsie doopsie * meep morp * blub glub * heepers jeepers * Update fsi.fs * Update service.fs * Update service.fsi * Update FSharpCheckerProvider.fs * Update FSharpLanguageServiceTestable.fs * Update TestLib.LanguageService.fs * Updates for build in release * I'm not touching MSBuildReferenceResolver I'm not touching MSBuildReferenceResolver I'm not touching MSBuildReferenceResolver * Different ignore and adjust ifdefs
Removes IVT dependencies for CodeLens: