martonsagi / al-object-designer

AL Object Designer for Dynamics 365 Business Central development
MIT License
39 stars 21 forks source link

"Opening.al" File Problem #53

Closed aptMattKoe closed 4 years ago

aptMattKoe commented 4 years ago

Hello,

I like this extension very well. But I get an error after I opend an object out of it. The extension creates an "Opening...al." file in the ".alache" directory. This AL file does not work with the compiler. image And when Start Debugging (F5) an another error appears what say, that the "opening" file could not be opened because it has no access.

Then I have to restart VS Code and it works again.

Any ideas?

aptMattKoe commented 4 years ago

Problem Solved on its own. No idea how but this problem is gone.

martonsagi commented 4 years ago

Actually, this is an old technical debt that I should have fixed already. Object navigation creates a temp file to activate the built-in code navigation (ugly hack).

I'll leave the issue open not to forget this. (It's been fixed in AL Studio's Object Designer but that's another story :) )

martonsagi commented 4 years ago

This issue has been fixed by introducing a custom navigation feature that works independently of AL Language extension.