mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-28 22:59:22 +01:00
I exclusively use the SCM input box for writing commit messages and have wanted the ability to wrap my commit messages to fit the 50/72 rule so they show up nicely on GitHub. @connor4312 wraps commit messages but by using a vertical editor ruler. Since the SCM input box is hooked up to code actions, I've implemented a quick fix for the input box that shows up with `Ctrl+.` (https://github.com/joyceerhl/vscode-git-fit-commit), but since the lightbulb is disabled for the SCM input, it's easy to miss that a fix is available. I would also like to make formatting more automatic, but unfortunately the SCM input isn't hooked up to format on type yet--so this PR enables format on type for the SCM input box.