This means that, for apps composed of several projects (e.g. a core project and localization projects, tests, etc.) you have to explicitly open a file in everyone of the projects, every time you open the workspace, if you want the AL engine to check of errors, consider them when refactoring, etc.
If would be very useful to have an option to load all AL projects/folders in a workspace, either when it is opened, or by running a VS Code Command.
This idea is related to this GitHub ticket: https://github.com/microsoft/AL/issues/5878#issuecomment-634700638
Comments
Definitely agree.It is really annoying because there are too many useful but buggy VS Code extensions that force you to use Developer: Reload window command. And each time you do the reload you need to click through all apps in the workspace and hope that they load.The same thing applies to AL: Publish full dependency tree for active project - it needs app folders to be loaded, but it doesn't even try to load them sometimes.I think that the whole loading of workspace apps could be way faster. It takes around 800 milliseconds to just scan file lines in a 8000+ files 59916 lines project on my laptop. Keeping track of file hashes and only parsing changed files would probably could load workspace in a matter of few seconds since symbol data is ten times or more times smaller than the object source code. And since nearly everyone uses Git you can use it to give you hashes it already computed.
Category: Development
Business Central Team (administrator)
Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.
Best regards,
Business Central Team