-
Notifications
You must be signed in to change notification settings - Fork 239
Add snippet support for component completion with EditorRequired attributes #12325
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
Merged
davidwengier
merged 19 commits into
main
from
copilot/add-completion-snippet-for-editor-required-propert
Oct 17, 2025
Merged
Changes from 2 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
473db3f
Initial plan
Copilot 3cfa493
Add snippet support for component completion with EditorRequired attr…
Copilot 61fbb8e
Address PR feedback: use pooled StringBuilder, always add quotes, add…
Copilot a98a719
Simplify Cohost test and optimize component tag helper lookup
Copilot 7272bb5
Merge remote-tracking branch 'origin/main' into copilot/add-completio…
Copilot 58fa7d4
Fix test for snippet completion - snippets don't need resolve
Copilot 0ba4329
Run activate.sh after restore to set DOTNET_ROOT etc.
davidwengier 02b3f11
Update snippet display text and simplify test using helper
Copilot d701787
Update test infra to support InsertText and AdditionalEdits
davidwengier e396fda
Fix test
davidwengier c128f7d
Optimize to avoid .Any() and .ToImmutableArray() allocation
Copilot bac8a8b
Use localized resource string for component completion label
Copilot c5b5633
Use SR resource in test for component completion label
Copilot cb304fd
Merge branch 'main' into copilot/add-completion-snippet-for-editor-re…
davidwengier a4bda3d
Extract snippet completion logic to separate method
Copilot f20fdb8
Refactor: invert if for early exit and pass descriptionInfo from caller
Copilot 1350ef3
Merge main into branch and resolve conflicts
invalid-email-address 5911e37
Add comment to SR.resx explaining "req'd" abbreviation
Copilot 3b7914e
Update src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Completi…
davidwengier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.