-
Notifications
You must be signed in to change notification settings - Fork 4.2k
fix extra whitespace insertion for text edits #77071
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
Conversation
Data = capabilityHelper.SupportCompletionListData ? resolveData : null | ||
Data = capabilityHelper.SupportCompletionListData ? resolveData : null, | ||
// By default, all text edits we create include the appropriate whitespace, so tell the client to leave it as-is. | ||
InsertTextMode = LSP.InsertTextMode.AsIs, |
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.
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.
accidentally force pushed, but fixed
Data = capabilityHelper.SupportCompletionListData ? resolveData : null | ||
Data = capabilityHelper.SupportCompletionListData ? resolveData : null, | ||
// By default, all text edits we create include the appropriate whitespace, so tell the client to leave it as-is. | ||
InsertTextMode = LSP.InsertTextMode.AsIs, |
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.
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.
accidentally force pushed, but fixed
6072e58
to
bd44932
Compare
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.
fixes issue where whitespace gets added twice for completion items that have upfront text edits.