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

Support item defaults in completion #6229

Merged
merged 3 commits into from
Apr 6, 2022
Merged

Conversation

dibarbet
Copy link
Member

Razor side PR for dotnet/roslyn#60466

var translatedCharacter = editPosition.Character - offset;
internal static Range TranslateRange(Position hostDocumentPosition, Position projectedPosition, Range? wordRange, Range textEditRange)
{
var offset = projectedPosition.Character - hostDocumentPosition.Character;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just moved into its own method

@ryanbrandenburg
Copy link
Contributor

It looks like the Integration tests hung? @sharwell I was under the impression that HangMitigatingToken should have protected us from this. I'll look at the dump.

@ryanbrandenburg
Copy link
Contributor

Looking at the logs it seems like the LSP failed at launch and VS may have been in a bad state?

Copy link
Contributor

@NTaylorMullen NTaylorMullen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit: thanks @dibarbet looks awesome!

@dibarbet dibarbet merged commit 0fb20ed into dotnet:main Apr 6, 2022
@dibarbet dibarbet deleted the itemdefaults branch April 6, 2022 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants