web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,233 Super User 2025 Season 2 on at
    RE: 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?

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

  • Dominic Matheis Profile Picture
    35 on at
    RE: 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?

    No, just the AL Language extension.

  • Marco Mels Profile Picture
    on at
    RE: 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?

    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
    RE: 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?

    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
    RE: 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?

    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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,285

#2
Sumit Singh Profile Picture

Sumit Singh 2,725

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,526

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans