-
Notifications
You must be signed in to change notification settings - Fork 416
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
Add TextEdits support to InlayHints #2385
Add TextEdits support to InlayHints #2385
Conversation
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.
LGTM, just a couple minor comments.
src/OmniSharp.Roslyn.CSharp/Services/InlayHints/InlayHintService.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Fred Silberberg <[email protected]>
a380137
to
1340c24
Compare
@bjorkstromm Seeing an odd Cake completion failure in the Windows net6.0 tests. The override completion is returning AdditionalTextEdits which appear to be formatting the DocComments from DotNetCoreAliases.cs. I saw the CompletionResolve handler was nulling out the AdditionalTextEdits property and was unsure if the CompletionRequest handler should be doing something similar. Surprised we only see this on Windows.
|
@JoeRobich, hmm unsure what the correct approach is. I'll have a look soon. But I think nulling might be the correct approach. Ok if I push to your branch if I find a solution? |
@JoeRobich, I checked the code. So, previously (if my old code comment was correct) Did this PR change behavior so that |
I'll give that a shot.
No intentional behavior changes for completion, so it is odd indeed. |
A closer look at the code, and I see that we currently are translating line numbers for the
I was however unable to reproduce locally on Windows. I'd say go ahead and make them |
No description provided.