Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

πŸ’¬ A Visual Studio Code extension which enables to commit simply by the semantic message conventions

License

nitayneeman/vscode-git-semantic-commit

Repository files navigation

Logo

VS Code - Git Semantic Commit

Marketplace Build Installs License

Installation Β· Usage Β· Settings Β· CHANGELOG

i️️ Description

This Visual Studio Code extension enables to commit simply by the semantic message conventions.

Preview

Notice that the default types are aligned with the Angular commit message conventions.


πŸ‘¨πŸ»β€πŸ« How to Use

The first thing you need to do is installing the extension.

Well, there are two ways to trigger the "Semantic Commit" command:

1. Command Palette

Open the Command Palette and start typing Git: Semantic Commit:

Triggering using the Command Palette

Then, choose the appropriate command and follow the steps.

2. View Actions

Alternatively, you can use the primary and secondary actions within the Source Control view:

Triggering using the View Actions


βš™οΈ Settings

The extension allows you to customize the following configuration settings:

Name Description
gitSemanticCommit.commitOptions Specifies which arguments to be passed when the commit is executed
gitSemanticCommit.preserveScope Determines whether to preserve the last message scope that was inserted
gitSemanticCommit.scopeTemplate Specifies scope template ($scope placeholder will be replaced with the passed scope)
gitSemanticCommit.stageAll Determines whether to stage all changes before the commit, in case the staging area (index) is empty
gitSemanticCommit.types Specifies the supported message types

Customize Your Types

Besides the fact you can add new message types, it's also possible to modify the existing values and their descriptions:

Enriching types with Emojis

Customize Your Scope

You can modify the scope template through a placeholder:

Changing the Scope Template


πŸ’πŸ» Contributing

This is an open source project. Any contribution would be greatly appreciated!

About

πŸ’¬ A Visual Studio Code extension which enables to commit simply by the semantic message conventions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /