Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>RelateIT VS Code for Business CentralNew to Visual Studio Code? Get it now.

RelateIT VS Code for Business Central

RelateIT

|
49 installs
| (2) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RelateIT VS Code extension for Business Central

Overview

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.
  • Project management commands require that Azure Command Line Interface is installed.
    • Afterwards, install the devops extension by running the following commands:
      • az extension add --name azure-devops
      • az config set extension.use_dynamic_install=yes_without_prompt
  • To use Docker related commands, PowerShell must able to execute and utilise docker.
  • Updating a Docker BC container license requires that BcContainerHelper is installed.
  • Commands that edit AL code require the AZ AL Dev Tools/AL Code Outline extension.

Miscellaneous

When updating the AL Template project, VS Code will open its git repository. Restart VS Code (or use the Reload Window command) to close it.

You can manage containers directly in VS Code with the Microsoft Docker extension among others.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft