All Projects → bendera → vscode-commit-message-editor

bendera / vscode-commit-message-editor

Licence: MIT license
Edit commit messages in a convenient way.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to vscode-commit-message-editor

Wikitext-VSCode-Extension
A Visual Studio Code Extension that provides language support for Wikitext.
Stars: ✭ 50 (+25%)
Mutual labels:  visual-studio-code, vscode-extension, visual-studio-code-extension
Awesome Vscode
🎨 A curated list of delightful VS Code packages and resources.
Stars: ✭ 19,659 (+49047.5%)
Mutual labels:  visual-studio-code, vscode-extension, visual-studio-code-extension
Netlify
A VS Code extension that displays your Netlify build statuses and more!
Stars: ✭ 23 (-42.5%)
Mutual labels:  visual-studio-code, vscode-extension
Processing Vscode
A Visual Studio Code extension for the programming language Processing
Stars: ✭ 141 (+252.5%)
Mutual labels:  visual-studio-code, vscode-extension
Vscode Auto Rename Tag
Automatically rename paired HTML/XML tag
Stars: ✭ 161 (+302.5%)
Mutual labels:  visual-studio-code, vscode-extension
Vscode Scss
🔌 IntelliSense for Variables, Mixins and Functions in all Sass (SCSS syntax only) files.
Stars: ✭ 128 (+220%)
Mutual labels:  visual-studio-code, vscode-extension
Vscode Elastic
Elasticsearch for VSCode
Stars: ✭ 130 (+225%)
Mutual labels:  visual-studio-code, vscode-extension
Vscode Mjml
This repo is archived. MJML preview, lint, compile for Visual Studio Code.
Stars: ✭ 138 (+245%)
Mutual labels:  visual-studio-code, vscode-extension
vscode-gcode-syntax
G Code Language Extension for Visual Studio Code. Turn VSCode into a fully capable G-Code editor, including language support & more.
Stars: ✭ 59 (+47.5%)
Mutual labels:  visual-studio-code, visual-studio-code-extension
vscode-exts
Visual Studio Code Extensions
Stars: ✭ 33 (-17.5%)
Mutual labels:  visual-studio-code, visual-studio-code-extension
vscode-formatting-toggle
A VS Code extension that allows you to toggle the formatter (Prettier, Beautify, …) ON and OFF with a simple click.
Stars: ✭ 52 (+30%)
Mutual labels:  visual-studio-code, visual-studio-code-extension
Vscode Language Pascal
Pascal language extension for Visual Studio Code
Stars: ✭ 117 (+192.5%)
Mutual labels:  visual-studio-code, vscode-extension
Vscode Code Runner
Code Runner for Visual Studio Code
Stars: ✭ 1,332 (+3230%)
Mutual labels:  visual-studio-code, vscode-extension
Vscode Auto Close Tag
Auto Close Tag for Visual Studio Code
Stars: ✭ 132 (+230%)
Mutual labels:  visual-studio-code, vscode-extension
Vscode Numbered Bookmarks
Numbered Bookmarks Extension for Visual Studio Code
Stars: ✭ 90 (+125%)
Mutual labels:  visual-studio-code, vscode-extension
Laravel Blade Snippets Vscode
Laravel blade snippets and syntax highlight support for Visual Studio Code
Stars: ✭ 80 (+100%)
Mutual labels:  visual-studio-code, vscode-extension
vscode-goto-next-previous-member
Visual Studio Code Extension to navigate through the functions, variables, and classes using quick and easy key commands similar to functionality provided by IntelliJ IDEs and Resharper
Stars: ✭ 24 (-40%)
Mutual labels:  visual-studio-code, visual-studio-code-extension
Vscode Csscomb
🔌 VS Code plugin for CSScomb — CSS coding style formatter.
Stars: ✭ 63 (+57.5%)
Mutual labels:  visual-studio-code, vscode-extension
Vscode Git Semantic Commit
💬 A Visual Studio Code extension which enables to commit simply by the semantic message conventions
Stars: ✭ 65 (+62.5%)
Mutual labels:  visual-studio-code, vscode-extension
ctagsx
VSCode ctags implementation that actually works
Stars: ✭ 24 (-40%)
Mutual labels:  visual-studio-code, visual-studio-code-extension

Commit Message Editor

Edit commit messages in a convenient way.

Highlighs

  • Commit messages can be editable in a customizable form. This helps you to use a standardized format.
  • Portable configuration to share settings with teammates.
  • A huge textarea on a dedicated tab.
  • Clean look, thanks to Vscode Webview Elements

Preview

The factory settings follows the Conventional Commits specification.

Preview

More screenshots

Requirements

Built-in Git extension

Extension Settings

This extension contributes the following settings:

  • commit-message-editor.confirmAmend: Show confirm dialog before amend the commit message
  • commit-message-editor.staticTemplate: Template for the text view
  • commit-message-editor.dynamicTemplate: Template for the form view
  • commit-message-editor.tokens: Editable inputs in the form view
  • commit-message-editor.view.defaultView: Default view of the editor (textarea or form)
  • commit-message-editor.view.fullWidth: The editor fills the whole available space
  • commit-message-editor.view.showRecentCommits: Show recent commits in the main view
  • commit-message-editor.view.saveAndClose: Close commit message editor tab after saving
  • commit-message-editor.view.visibleViews: Which tab(s) should be visible: text, form or both
  • commit-message-editor.view.visibleLines: Visible lines in the text view
  • commit-message-editor.view.useMonospaceEditor: Use monospace font in the text view
  • commit-message-editor.view.tabSize: Tab size in the monospace editor
  • commit-message-editor.view.useTabs: Use tabs for indentation in the monospace editor
  • commit-message-editor.view.rulers: Render vertical rulers after a certain number of monospace characters in the monospace editor. Use multiple values for multiple rulers. No rulers are drawn if array is empty.

Customizing the commit message form

The easiest way to customizing the commit message form is to use the Configuration Editor. To open the configuration editor, choose the Commit Message Editor: Open Settings Page command from the Command Palette, or click on the gear icon in the top right corner of the Commit Message Editor tab. Here, you can export the current configuration or import another one. The loaded configuration can be saved to the user or the workspace settings.

A JSON schema is created for the portable configuration file format. This means, you can use the VSCode toolset to edit the configuration file manually. Just create a new JSON file with this content and start to edit:

{
  "$schema": "https://bendera.github.io/vscode-commit-message-editor/schemas/config-v1.schema.json"
}

Structure of the portable configuration file

configVersion

Currently: "1". It might change in the future.

staticTemplate

Template for the text view, an array of strings. Every item in the array is a single line.

dynamicTemplate

Template for the form view, an array of strings. Every item in the array is a single line. Form fields (see the next section) can be referenced in the the template with the {token_name} format.

tokens

An array of token objects. It defines the form fields. The table below shows the structure of a token object:

Name Type Description Valid for
label string The label of the form item. all
name string The token name in the template. all
type enum The type of the token. Valid values are:
text: displayed as a text input
boolean: displayed as a checkbox
enum: displayed as a dropdown selector
all
description string A longer text under the form item all
prefix string Text before the value. It will only be applied if the value is not empty all
suffix string Text after the value. It will only be applied if the value is not empty all
multiline boolean Multiline text input text
lines number Textarea initial height in lines text
maxLines number Textarea maximum height in lines text
maxLength number Maximum length of the value text
multiple boolean Multiple options enum
separator string Separator character when multiple options were selected enum
combobox boolean Is the selector filterable or not enum
options array Available options enum
options[{n}].label string The value of the option enum
options[{n}].description string A longer description for the option enum

Sample configs

You can customize the Gitmoji config with the scripts/gitmoji-config.js script

Happy coding!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].