vscode-git-commit icon indicating copy to clipboard operation
vscode-git-commit copied to clipboard

feature request: dynamic related options

Open maxisam opened this issue 3 years ago • 1 comments

I am wondering if it is possible to have something like

"vscodeGitCommit.template": ["{type}({scope}{sub}): {message}"],
"vscodeGitCommit.variables": {
    "scope": [
      {
        "label": "worker",
        "detail": "individual worker"
      },
      {
        "label": "srv",
        "detail": "support service for all workflows"
      }
    ],
    "sub": "*scope",
    "worker": [
      {
        "label": "worker1"
      },
      {
        "label": "worker2"
      }
    ],
    "srv": [
      {
        "label": "srv1"
      },
      {
        "label": "srv2"
      }
    ],
}

So people can select scope and select related sub based on the scope they selected.

maxisam avatar Nov 16 '22 19:11 maxisam

Hmmm, I see what you want, at this time it's not possible, but that's interesting, I have to think about how to do it, it add conditionnal to the settings

rioukkevin avatar Nov 16 '22 20:11 rioukkevin