This extension introduces a number of commands to streamline git management and AL development for Microsoft Business Central.
Features
Choose a project and get set up to work on it immediately.
(IN PROGRESS) Work on features in a simplied and managed way.
Quickly initialise an empty AL project, and manage licenses in Docker BC containers.
Speed up AL development with new macro commands.
Commands
Project and feature management:
Project Go
View all projects and clone repositories from a chosen project.
Automatically create/maintain a multi-root workspace for the project.
Project Clean-up (UPCOMING)
Remove completed/unused branches locally.
Branch Go
Choose an existing branch or create a new, then checkout that branch.
Branch Commit
Commit with branch number or a regular commit message.
Commit and push changes to the remote branch.
Optionally create a pull request.
Branch Delete
Removes local and remote versions of a selected branch.
Release Prepare (UPCOMING)
Create a release branch.
Choose feature branches to include in the release, then automatically create pull requests for these.
Release Finish (UPCOMING)
Create a pull request that finialises a release branch.
Automatically remove feature branches included in the release branch.
Optionally start a release pipeline.
Template - Update/Copy/Init: Initialise an empty project based on another git-enabled directory acting as the template.
Docker - Container License: View container license expiry, and import a new license without having to write any parameters.
Toggle Editor Auto Scroll (default key Scroll Lock): When enabled, will try to maintain the cursors vertical position within the editor by scrolling automatically. A setting controls whether running the command reads the state of Scroll Lock (default) or plain toggles on/off.
Add Dependencies: Quickly add commonly used app.json dependencies from a list.
Commands to add/remove code in AL files. Only the selected part of the code will be modified, or the current line if no selection is made.
(deprecated)Modify Text Symbols (Line/Selection)
Lock Labels/Captions/ToolTips (Selection/Line): Adds/updates the Locked attribute.
Unlock Labels/Captions/ToolTips (Selection/Line): Removes the Locked attribute.
Update Comments in Labels/Captions/ToolTips (Selection/Line): Adds/updates the Comment attribute in accordance with the substitutions in the text literal.
Remove ToolTips (Selection/Line): This command can be configured to remove all tooltips, or only tooltips with a default value.
Propagate Translation (Current Translation Unit): Take the current translation unit, and update the target of other translation units with a matching source.
Reuse Existing Translation (Current Translation Unit): Update the target of the current translation unit by finding another translation unit with a matching source.
Requirements
git must be installed and configured.
To use Docker related commands, PowerShell must able to execute and utilise docker.
Updating a Docker BC container license requires that BcContainerHelper is installed.