-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode an XMLPorts #7905
Comments
Can you share an example project where it reproduces? |
/// /// XmlPort TCN_e-Factura 3.2 Formato Face (ID 7149200). /// xmlport 7149200 "TCN_e-Factura 3.2 Formato Face" {
} |
Good morning Thank you |
Another clue: If you change in the settings this property: Thank you again |
The last one is expected behavior. Setting it to none means you are disabling code analysis. What I understand is happening in your case is that maybe it's taking a long time for the diagnostics to be calculated. When I try your object, the warnings/errors appear immediately, but I also don't have the related symbols. Can you also look at the debug console/error log to see if there are crashes? |
As far as the time is concern, I can confirm that it is not the case. I've left it for hours, and no results either. |
I also cannot reproduce the issue with the pre-release version of the AL extension and the provided XML port. Is this something new with the latest version? Otherwise, there might be indeed a limitation with the project size to be process. In this case setting al.backgroundCodeAnalysis": "File" (which is also the default case for bigger projects) should solve the issue. An alternative workaround would be to break it down into smaller units. |
Thanks for your reply. I created a brand new proyect. And as you suggest, I can not split the objet in two, it is a xmlport and it needs to be al together. |
Describe the bug
XMLPorts do not show error, warnings, etc.
To Reproduce
Create a new XMLPort and write anything, an Lorem Ipsum i.e.
Expected behavior
Show errors and warnings
Actual behavior
Do not show any error nor warning
Versions:
AL Language: v15.0.1177813 (pre-release)
Visual Studio Code: 1.95.2
Operating System:
Windows 11
The text was updated successfully, but these errors were encountered: