Where GitHub Copilot Actually Saves Time in AL Projects
GitHub Copilot saves time in AL development through deliberate use of Chat, Agent, Ask, and Edit modes for specific tasks. Agent mode generates boilerplate and test scaffolding efficiently, Chat mode helps explore unfamiliar APIs, Ask mode explains existing code, and Edit mode refactors with precision, though all generated code requires developer review before acceptance.

post think about IT
"The key is using the right mode for the right task."
Key points
- Agent mode efficiently generates AL boilerplate code and test scaffolding when given clear intent descriptions
- Chat mode provides quick working examples for exploring unfamiliar APIs like HttpClient and JSON handling
- Ask mode helps developers understand existing code by identifying responsibilities, table interactions, and design characteristics
- Edit mode enables precise, reviewable refactoring by extracting logic into separate procedures
- Generated code is structurally correct but occasionally contains syntax errors requiring developer verification before acceptance
Quotes
- “The key is using the right mode for the right task.” (Copilot productivity depends on matching its mode to the specific development task, not treating it as a generic autocomplete tool)
- “The quality of what Agent produces is directly proportional to the clarity of the intent you give it.” (Clear problem definition before requesting code generation is essential for obtaining production-ready output)
AL objects mentioned
As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.
- codeunit “Sales Posting Helper”
- codeunit “Rest Api Helper”
- codeunit “Sales Posting Helper Test”
Not found in BC28-30: codeunit “Sales Posting Helper”, codeunit “Rest Api Helper”, codeunit “Sales Posting Helper Test”.
Context
- Features: Copilot Agent mode for code generation, Copilot Chat mode for API exploration, Copilot Ask mode for code explanation, Copilot Edit mode for refactoring, HttpClient for REST API calls, Test scaffolding generation, AL test libraries
Source: think about IT - Steven Renders, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.