Using regions in AL code

Did you know that you can use CSharp-like regions in AL code? Somehow, a generic VSCode feature applies to AL files as well!

Compiler seems to accept //#region + //#endregion pairs since those are just comment lines. Publishing and debugging works fine.

Both //region and //#region styles work, so it depends on your preference which one to choose.

nav_al_regions3.png

nav_al_regions2.png

Another great feature to have better organized AL code. 😎

NAV C/Side color theme for VS Code

I have created a light VS Code color theme using C/Side colors. Available on Marketplace.

All the AL demos use the dark theme, which is not bad, but I have always preferred light themes. Then it hit me: hey, it’s VS Code! You can create your own themes and plugins, so why not? 🙂

Continue reading “NAV C/Side color theme for VS Code”

NAV 2018 – installation from DVD

The beginning of a beautiful friendship.

Just like many of us, I was eager to get my hands on a fresh copy of NAV 2018, the release that almost never happened. I woke up early on last Friday and there it was already on PartnerSource! A good old installation DVD available for download.

Continue reading “NAV 2018 – installation from DVD”