Skip to content

Support item defaults in completion#6229

Merged
dibarbet merged 3 commits into
dotnet:mainfrom
dibarbet:itemdefaults
Apr 6, 2022
Merged

Support item defaults in completion#6229
dibarbet merged 3 commits into
dotnet:mainfrom
dibarbet:itemdefaults

Conversation

@dibarbet
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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

Copy link
Copy Markdown

@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