Skip to content

Collapsible git trailers key-value pair table-layouted form inputs #236185

Closed as not planned
@shaedrich

Description

It would be nice if VSCode natively supported inputting git trailers into the it panel in a user-friendly way, just like it does with the subject line, instead of having to put them into the body as free-Form text.

git panel implementation details

possible settings/extendability (probably added as follow-up if considered)

  • the input suggestions could be a public API to allow for adding custom suggestions or even pre-filling by extensions (or settings itself; even validation is imaginable, e.g. when there are a couple spellings the same meaning (e.g. Co-author: vs Co-authored-by:))
  • the trailers might be configured to be of a certain type (e.g. git user for things like Co-authored by:), so VSCode could also provide auto-complete for the value input (even validation is imaginable when configured by the user or an extension (e.g. "use the full email address format for things like Co-authored by:" (John Doe <john.doe@example.com>))
  • it might also be possible to prevent committing when certain trailers configured as required are not set for the commit

Image

things to keep in mind

  • some people would probably mix putting trailers into the body AND the trailers section - they probably want them to be merged (principle of least surprise)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

*extension-candidateIssue identified as good extension implementationscmGeneral SCM compound issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions