Quick Commit is a Visual Studio Code extension that allows you to quickly commit the whole file without any hassle or extra clicks. This extension simplifies the process of making commits by providing a streamlined workflow directly within the editor.
Features
Quick Commit: Commit the entire file with a single command.
Commit Message Prompt: Prompt to enter a commit message with a predefined prefix.
Custom Commit Prefixes: Choose from a list of common commit message prefixes or enter a custom prefix.
Git Integration: Ensures that the project is a Git repository before committing.
Installation
Open the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window or by pressing Ctrl+Shift+X.
Search for "Quick Commit" and click Install.
Reload VS Code to activate the extension.
Usage
Open a file in a Git repository.
Open the command palette (cmd+shift+p) and type Quick Commit: Commit File.
Follow the prompts to enter a commit message prefix and the commit message.
The extension will add and commit the current file.
Usage with Keyboard Shortcuts
Open a file in a Git repository.
Commit file with (cmd+q cmd+c).
Follow the prompts to enter a commit message prefix and the commit message.
The extension will add and commit the current file.
Usage with toolbar icons
Open a file in a Git repository.
Click on the Quick Commit icon in the toolbar.
Follow the prompts to enter a commit message prefix and the commit message.
The extension will add and commit the current file.
Requirements
Visual Studio Code
Git must be installed and available in your system PATH
Extension Settings
This extension does not require any special settings.