web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Why does the AL Language Extension for VS Code needs longer to load the code warnings after a precise amount of files in the folder?

(0) ShareShare
ReportReport
Posted on by 35

Hello guys

I notice a rather strange behavior. Currently when I change something in the code, it takes 5 seconds to load the code warnings (Yellow wavy lines). Usually it took something like 1 second.

So I started to investigate, if its something with my code that makes it take so long. But then I noticed, I can go back to my old 1 second loading time if, I delete 7 Random page files.

Why is that so?

Is there something like a Threshold and if you're above it, it generates the warnings in a different way?

Currently I have 85 files and a total of 53MB of Data.

I have the same question (0)
  • Suresh Kulla Profile Picture
    50,280 Super User 2026 Season 1 on at

    Have you installed any other extensions like AZ AL Dev Tools or AL Tool Box?

  • Dominic Matheis Profile Picture
    35 on at

    No, just the AL Language extension.

  • Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Is this maybe related to this issue:

    Slow performance after AL Language update · Issue #5768 · microsoft/AL · GitHub

    Thanks

  • Verified answer
    Dominic Matheis Profile Picture
    35 on at

    I found a solution. I needed to add something in the global "settings.json" file.

    "al.incrementalBuild": true,

       "al.compilationOptions": {

           "delayAfterLastDocumentChange": 1000,

           "parallel": true,

           "maxDegreeOfParallelism": 16,

           "delayAfterLastProjectChange": 1000,

       },

       "al.backgroundCodeAnalysis": true,

       "al.enableCodeAnalysis": true,

       "al.enableCodeActions": false,

  • Verified answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Thank you for sharing this insight.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 595 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 364 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 331 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans