microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.3k stars 29.31k forks source link

Add git Setting: Toggle Commit Message Window #79074

Closed danyadsmith closed 4 years ago

danyadsmith commented 5 years ago

There are several settings available related to git commit messages, such as:

I don't like to use the Commit message window provided in the Source Control pane in the Activity Bar. I have a .gitmessage configured and prefer to use command line/Vim for my commit messages.

Please add a boolean setting for the source control panel:

This setting would allow those of us who prefer to use an editor for commit messages to set this to false by default.

Also, the following command would be helpful in the Command Palette:

It would allow users to toggle the visibility of the commit window.

vscodebot[bot] commented 5 years ago

(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

joaomoreno commented 5 years ago

We currently have API for this, so it should be pretty straightforward to implement.

flurmbo commented 5 years ago

Hi @joaomoreno @danyadsmith, I was thinking of working on this. Just to clarify, the git.showCommitWindow setting should simply hide the commit message input (where it says "Message (Ctrl+Enter to commit on 'master')" in the image below)?

commitwindow

joaomoreno commented 5 years ago

Yeah, I would call it showCommitInput instead, though.