Extension make Intelisense Slow
Opened this issue · 7 comments
Hello @jnissen,
we're currently working on the new AL XML Documentation extension, version 2.0, which will be based on a new core. The new core currently looks much faster in our projects so we hope to solve this issue with the update as well.
Could u pls give me some additional infos? When does the unresponsive appear? While initialization or while editing? We recognized some unresponsive while editing large files (like "Sales-Post" Codeunit)
Thanks!
/chris
Hello,
Installation works fine.
If the Extension ist installed All Intelisense Help are slow.....
If I press Strg+Space it´s appears "Loading" but nothing happens.... Also in Small Codeunits...
If it helps, I can test your Extension ....
Thanks for your update! Sure, I'll let this issue stay open, until it's fixed and will get back to you as soon as our new extension version is ready for testing.
@sirhc101 ,
1st of all, ty for the utility provided by the extension.
I was wondering though, is this optimization still work in progress? Having the extension enabled is eating all my resources. Had to disable the extension to even be able to work properly. (No IntelliSense at all, delayed compilation of written code, ...)
@ZepposBE Yes, it's still a work in progress, but right now I have only little time to work on it.
I think there is a general design fail to use to much regex on the whole source file. I think performance would be much better, when reading file line by line and creating the structures while reading the file.
I just used an awk - script to generate an AL- source file of 6 MB size it takes about one second to process, because it is reading the source line by line and creates internal structures, and at the end it writes the whole AL in one run.
If AL- XMLdocumentation is enabled, it crashes the AL- Extensionhost on every start.
Sorry, currently I do not find the time to work on the new version! 🙁 I hope that I will find time over Christmas and New Year to finish the new version. Then all open issues, including the performance issue will be fixed.