auto-commit-msg icon indicating copy to clipboard operation
auto-commit-msg copied to clipboard

Push message to input box

Open MichaelCurrin opened this issue 5 years ago • 2 comments

Perhaps a way in this extension to get close to the easy GH autofill flow.

To listen for when files are staged on unstaged and then push a message to the input box for you.

MichaelCurrin avatar Aug 11 '20 18:08 MichaelCurrin

Note this cannot listen to when a file is staged in the terminal (it may happen outside VS Code too).

Maybe there is a way to hook into the buttons for staging and removing.

This is really low priority as an issue though as it sounds like work to see if it is possible and do actually do it, compared with just clicking the extension button to generate a message when you are done with your staging changes.

MichaelCurrin avatar Aug 12 '20 18:08 MichaelCurrin

Maybe something more useful would be a prompt to commit, accepting the message by pressing enter. To save clicking the commit button or pressing CTRL+ENTER. The problem is then one has to mirror the git extension logic and configured settings around smart committing. And that enlarges the scope too much

MichaelCurrin avatar Aug 12 '20 18:08 MichaelCurrin