Skip to content

Adopt insert & replace in snippet provider#84206

Merged
jrieken merged 2 commits intomicrosoft:masterfrom
jeanp413:adopt-insert-replace-snippets
Nov 18, 2019
Merged

Adopt insert & replace in snippet provider#84206
jrieken merged 2 commits intomicrosoft:masterfrom
jeanp413:adopt-insert-replace-snippets

Conversation

@jeanp413
Copy link
Contributor

@jeanp413 jeanp413 commented Nov 8, 2019

Fixes #83834

@jeanp413 jeanp413 force-pushed the adopt-insert-replace-snippets branch from 1e4059f to 8e91d73 Compare November 15, 2019 13:02
@jeanp413
Copy link
Contributor Author

Updated the PR and added some unit tests. Let me know if more changes are needed

Copy link
Member

@jrieken jrieken left a comment

Choose a reason for hiding this comment

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

Looking good. Optionally, use the endsWith-util instead of the commonPrefixLength trick, otherwise I'll merge on Monday

@jrieken jrieken added this to the November 2019 milestone Nov 15, 2019
@jeanp413
Copy link
Contributor Author

Do you mean startsWith right? I pushed a change for that

@jrieken jrieken merged commit 5abb877 into microsoft:master Nov 18, 2019
@jeanp413 jeanp413 deleted the adopt-insert-replace-snippets branch November 18, 2019 13:17
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adopt insert&replace range for snippet completions

2 participants