AL icon indicating copy to clipboard operation
AL copied to clipboard

Enlarge max. Count of Problem Entries

Open Koepisch opened this issue 3 years ago • 5 comments

I've noticed that the maximal count of listed problems are restricted to 100 entries per AL object. I havn't found any setup, where i can lift these restriction up to show ALL problems.

Background: I grab these information to solve the problems automatically.

Is there any setup to do this? Can i change the source code to do it myself? Can these max. showed problems count be part of the setup parameter?

Regards Koepisch

Koepisch avatar Apr 13 '22 10:04 Koepisch

seems like a dupe of https://github.com/microsoft/AL/issues/6198

dzzzb avatar Apr 13 '22 11:04 dzzzb

It's not quite the same issue, because i never get more than 100 entries. It's not due to the 50 file limit or due to undiscovered errors. I simply want to see all errors which are occurring in a file.

Koepisch avatar Apr 15 '22 09:04 Koepisch

I want to bump my request. There are a lot of C/AL conversions and we need that feature urgently.

@kalberes: you mentioned "Similar to the 100 diagnostics per file (that is also undocumented as far as I know)." in issue #6198. Is it possible to enlargethe max. diagnostics per file?

Koepisch avatar Aug 17 '22 16:08 Koepisch

Have you tried using the continueBuildOnError:true for the al.compilationOptions property?

kalberes avatar Aug 22 '22 20:08 kalberes

Have you tried using the continueBuildOnError:true for the al.compilationOptions property?

Thanks yes, i have. Still only max. 100 problems per file. It's a really annoying problem.

Koepisch avatar Sep 08 '22 07:09 Koepisch

Update in 2023: We currently show up to 500 diagnostics per file, which is the maximum which VSCode supports. There is currently an active issue in their repository to increase this number: https://github.com/microsoft/vscode/issues/181045

I believe that if you use the ALC.exe compiler directly, you can circumvent this limitation.

EmilDamsbo avatar Sep 14 '23 14:09 EmilDamsbo