You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Quick Fixes for local include input diagnostics #334
Remote components get Quick Fixes for input problems (replace an unknown input, add a missing required one). local: includes get the same diagnostics but Cmd+. says "No code actions available".
Proposed solution
Offer the same code actions for local: includes that declare spec.inputs: replace an unknown input with a close match, and add missing required inputs.
Example .gitlab-ci.yml usage
include:
- local: templates/deploy.ymlinputs:
environment: stagingreplica: 3# unknown, should offer `replicas`# `app_name` is required and missing, should offer to add it
Command/UI impact
No new commands. Quick Fix menu entries on existing diagnostics.
Acceptance criteria
Cmd+. on an unknown input of a local include offers replacements.
Cmd+. on a local include missing a required input offers to add it.
Priority
Low
Alternatives considered
No response
Target GitLab instance(s)
n/a, local files
Pre-submit checks
I searched existing feature requests and did not find a duplicate.
I included concrete examples and acceptance criteria.
Activity