-
Notifications
You must be signed in to change notification settings - Fork 1
feat: related resources for resources already authored in template sh… #13
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
3a77e31 to
9dabaea
Compare
…owed using inline completion suggestions
5ffbfdf to
d6c9412
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.
Pull Request Overview
This PR introduces a new inline completion provider that suggests related AWS resources when authoring CloudFormation templates. It analyzes existing resources in the template and suggests the most relevant related resource types based on AWS service relationships.
- Adds a new
RelatedResourcesInlineCompletionProviderthat extracts existing resource types and suggests related ones - Integrates the provider into the existing
InlineCompletionRouterwith proper context detection for new resource authoring - Implements ranking logic to prioritize suggestions by relationship frequency and limits to top 5 results
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
src/autocomplete/RelatedResourcesInlineCompletionProvider.ts |
New provider implementing the core logic for suggesting related AWS resources |
src/autocomplete/InlineCompletionRouter.ts |
Updated router to integrate the new provider with context-aware triggering |
tst/unit/autocomplete/RelatedResourcesInlineCompletionProvider.test.ts |
Comprehensive test suite for the new provider functionality |
tst/unit/autocomplete/InlineCompletionRouter.test.ts |
Updated router tests to accommodate the new provider integration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
…owed using inline completion suggestions
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.