vscode-conventional-commits icon indicating copy to clipboard operation
vscode-conventional-commits copied to clipboard

[FEAT] add restricted configuration `conventionalCommits.promptDescription`

Open yi-Xu-0100 opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe

Add restricted configuration conventionalCommits.promptDescription to disable the description section. But it will only work when the conventionalCommits.autoCommit setting to false or the conventionalCommits.showEditor setting to true. 😁

Describe the solution you'd like

I always edit the commit message as a text document in a separate tab. The large view is better than an input box. So I only need the choices of type, scope, and gitmoji, then I want to edit the main message rather than edit the description in the input box. 😊

yi-Xu-0100 avatar Aug 29 '21 00:08 yi-Xu-0100

@yi-Xu-0100 Oh, I understand what problem the promptDescription option is intended to resolve.

Actually, I am not quite satisfied with the extension right now. I was using https://github.com/lppedd/idea-conventional-commit lately. I find it is quite efficient when entering the commit messages in an input box, rather than selecting options like we do now. It's quite a huge change and it requires tons of work to do. I'd like to try that way.

vivaxy avatar Aug 29 '21 01:08 vivaxy

@vivaxy In my opinion, I think the best part of this extension is that it has a good visualization process. For people without programming experience, it only needs to give hints to help complete the whole process. No need to learn how to get tips.

No matter how long I haven't programmed again, as long as I use this extension, I can complete the whole process without more help. 😁

yi-Xu-0100 avatar Aug 29 '21 01:08 yi-Xu-0100

@yi-Xu-0100 That's right, "Commit by selecting the options" and "Commit by typing with completion" are two different kinds of experience.

https://github.com/bendera/vscode-commit-message-editor "Edit as form" is another approach of "Commit by selecting the options". It has a better experience of writing descriptions. When it comes to the efficiency, it seems to involve the mouse moving which I think is less efficient. I think they can add some hotkeys to solve the problem.

For the users who are not familiar with "Conventional Commits", "Commit by selecting the options" is better. It can give a guidance of the "Conventional Commits" format.

When users are familiar with "Conventional Commits", then tends to choose a more efficient way. I think "Commit by typing with completion" is that way. In VSCode, there are no choices for those who prefer efficiency over guidance.

That's why I am digging into "Commit by typing with completion". I think it should be another extension for now.

vivaxy avatar Aug 29 '21 02:08 vivaxy