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

Notifications

Announcements

No record found.

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,243 Super User 2025 Season 2 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
    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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans