AL
AL copied to clipboard
AL includes symbols from apps not in the .alpackages folder
- AL Extension Version: v9.4.663067
The app files in the main app folder are loaded as symbols and causes it to complain objects already exist in the symbols when they do not in the .alpackages folder
This seems to refer to the current version listed in the app.json
Can you share what's the value (if any) of the setting al.packageCachePath
in your settings.json?
That value is not set
Can you share the contents of your settings.json
for both the project and VSCode level? Or share a workspace which reproduces this issue.
This a typical settings.json { "CRS.AlSubFolderName":"Source", "CRS.ObjectNameSuffix":" ", "CRS.FileNamePattern":"<ObjectTypeShortUpper><ObjectId>.<ObjectNameShort>.al", "CRS.FileNamePatternExtensions":"<ObjectTypeShortUpper><BaseId>.EXT<ObjectId>.<ObjectNameShort>.al", "CRS.FileNamePatternPageCustomizations":"<ObjectTypeShortUpper><BaseId>.EXT<ObjectId>.<ObjectNameShort>.al", "al.enableCodeAnalysis":true, "al.enableCodeActions":true, "al.ruleSetPath":".codeAnalysis\ruleset.json", "al.codeAnalyzers":["${CodeCop}", "${PerTenantExtensionCop}", "${UICop}"], "alVarHelper.ignoreALSuffix":"", "editor.minimap.scale":3 }
@lvlaanderen Are you still experiencing this issue? Can you also share all the settings you have defined on a user/workspace/project level?
We cannot reproduce this internally. If this is still happening on the latest version of the AL Extension for VSCode, please re-open and provide all relevant settings.json files.