Skip to main content

AI-Part1: what-is-GitHub-copilot-in-vscode-business-central.

 Hi,

A plain-English overview of what GitHub Copilot actually does inside VS Code in 2026, written specifically for Business Central AL developers starting with AI-assisted development.

This is part of a series where we try to explore all features of GitHub copilot in VS Code.


What Is GitHub Copilot in VS Code? (A Business Central Developer's Guide)

If your mental model of GitHub Copilot is "autocomplete for code," it's time for an update. That was accurate in 2021. Today, Copilot in VS Code spans a much wider spectrum — from quick inline suggestions all the way to autonomous agents that can plan, edit multiple files, run terminal commands, and open a pull request while you're away from your desk.

This post is the starting point for a full series on using Copilot for Business Central AL development. Before we touch any AL code, it's worth being precise about what Copilot actually is, because the vocabulary matters — "Agent mode," "Chat," "subagent," and "cloud agent" all mean different things, and mixing them up leads to confused prompting later.

The Copilot spectrum, from lightest to heaviest:

  • Inline completions — the original feature. As you type, Copilot suggests the next line or block based on context.
  • Copilot Chat — a conversational side panel for asking questions, requesting explanations, or making targeted changes.
  • Agent mode — give it a task, and it plans the work, edits across files, runs terminal commands, and iterates until the task is complete, checking in with you along the way.
  • Cloud (coding) agent — an asynchronous version of Agent mode that runs on GitHub's infrastructure. You assign a task, close your laptop, and come back to a pull request.
  • Subagents — isolated helper agents a parent agent can delegate to for research or sub-tasks, keeping the main session's context focused. (This deserves its own dedicated section later in this series — it's more useful than it sounds.)

Why this matters more for Business Central than for general software development

AL is a fairly specific language tied to a fairly specific object model — tables, pages, codeunits, extensions, and events. Generic Copilot tutorials, which are almost always written for JavaScript or Python, don't map cleanly onto BC work. A few reasons why:

Business Central extension development is fundamentally about extending base application objects rather than modifying them directly — Copilot needs to be told this constraint, because it isn't obvious from the code alone. Object ID ranges and naming conventions are team-specific and won't be inferred automatically; they have to be either stated in the prompt or taught once through custom instructions. And BC-specific patterns like event subscribers, table/page extensions, and the Business Central Test Toolkit rarely appear in the generic demos most Copilot content is built around.

What's next in this series

The next post covers environment setup: getting VS Code, the AL Language extension, and Copilot configured correctly for Business Central work — including a couple of settings that trip up newcomers. From there, the series moves into chat modes, slash commands, and the specific prompt patterns that get useful answers out of Copilot for AL development, before building up to real feature work, testing, and eventually agent and subagent workflows.

If you're a Business Central developer curious about where AI-assisted development actually fits into your day-to-day work, this series is built for you specifically — not adapted from a generic web-dev tutorial.

Regards,

Saurav Dhyani

Comments

Popular posts from this blog

Microsoft Dynamics NAV 2016 - How to Configure Phone Client.

Hi All, In this article we will discuss how we can connect Microsoft Dynamics NAV 2016 with New Client Launched i.e. Phone Client. This Article Contain Steps for a Android Phone as I have Only Android Phone. I am doing it having all tiers on my windows 8 machine, steps remain same for multiple servers but issues might be different. What we Need (Other what we discuss in this article) -  The Service Tier should be on Public IP . Some of the Data-card does not Provide you Public IP. check it for sure.

MSDYN365BC - Data Upgrade To Microsoft Dynamics 365 Business Central on premises.

Hi Readers, We have already talked about the number of steps for upgrading to Business Central on Premises from different NAV versions. After that article, I received multiple requests for an article which list down steps for Data Migration. In this article, we will discuss steps of data migration to MSDYN365BC (on-Prem) from NAV 2017. For this article, I am considering a Cronus Demo Database without any customization. For an actual upgrade project, we will have to complete object merge using compare and Merge process. After the Merge Process, the next step is data migration. Let's discuss those steps. Direct Upgrade to Microsoft Dynamics 365 Business Central (on-Prem) is from following versions - 1. NAV 2015. 2. NAV 2016. 3. NAV 2017. 4. NAV 2018.

How to Set Up NavUserPassword Authentication in Business Central.

Hi Readers, In this article we will discuss steps to Setup NAVUserPassword in Business Central on-prem. NavUserPassword is an authentication method that's handled by Business Central Server, but isn't based on Windows users or Active Directory. Each user is set up with a username and password that's configured inside Business Central only. The user is prompted for username/password credentials when they start the client. #msdyn365bc, #credentialtype