This Visual Studio Code extension automatically commits changes to a Git repository whenever a file is saved. This extension is proprietary software developed by DLI Systems.
Features
Automatically commits changes on file save.
Batches multiple file saves within a 500ms window into a single commit.
Ignores files based on user-defined patterns (e.g., **/.tmp, **/node_modules/**).
Customizable commit message format.
Enable/disable the extension via settings.
Requirements
A Git repository must be initialized in the workspace.
Visual Studio Code version 1.60 or higher.
A valid license from DLI Systems to use this extension.
Extension Settings
This extension contributes the following settings:
gitAutoCommit.enabled: Enable or disable the extension (default: true).
Note: This setting should be set in the project-level settings.json (.vscode/settings.json) to ensure consistent behavior, as workspace-level settings take precedence over user-level settings.
gitAutoCommit.ignore: Array of patterns to ignore files (default: ["**/.tmp", "**/node_modules/**"]).
Setup
Obtain a license from DLI Systems to use this extension.
Install the extension from the VS Code Marketplace (published by DLI-Systems).
Open a workspace with a Git repository.
Save a file to trigger an automatic commit.
Configure settings as needed in your project-level settings.json file (.vscode/settings.json).
Usage
Save any file in your workspace, and the extension will automatically stage and commit the changes.
For multiple files saved simultaneously, a single commit will be created with a message like "Auto-commit: Updated 2 files on [date]".
To ignore specific files, add patterns to the gitAutoCommit.ignore setting (e.g., ["**/*.log"]).
To disable the extension, set gitAutoCommit.enabled to false in the project-level settings.json (.vscode/settings.json).
Note: Setting gitAutoCommit.enabled in the user-level settings.json may not work consistently due to VS Code's configuration precedence rules. Use the project-level settings.json for this setting.
Licensing
This extension is proprietary software owned by DLI Systems. Usage is subject to the terms of the proprietary license agreement provided with the extension. For licensing inquiries, please contact DLI Systems at [insert contact email].
Known Issues
The extension requires a valid Git repository in the workspace. If no repository is found, an error will be shown.
The extension host termination issue has been mitigated but may require monitoring in production environments.