Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
I wanted to ask if it would be possible to expose the components used to create the ${commands} token as individual tokens of their own — Personally I tend to use only 2 or 3 of them, and it would be nice to declutter the hover with only the buttons I need.
Hi, I recently learned about
gitlens.hovers.detailsMarkdownFormat
, which is awesome! Having the power to customize those hovers is great, but it is of course still limited to the format tokens described in https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokensI wanted to ask if it would be possible to expose the components used to create the
${commands}
token as individual tokens of their own — Personally I tend to use only 2 or 3 of them, and it would be nice to declutter the hover with only the buttons I need.Looking at https://github.com/gitkraken/vscode-gitlens/blob/main/src/git/formatters/commitFormatter.ts#L357 I would guess the different pieces could be exposed as helpers, and
${command}
implemented in terms of those pieces. Is this feasible / would you accept a PR to do something like this and empower users to build a custom "commands toolbar" using those pieces?