iljapostnovs / VSCodeUI5Plugin

Visual Studio Code Extension for UI5 Development
Apache License 2.0
61 stars 6 forks source link

Slow VS Code and Issues with other extensions when SAPUI5 Extension is enabled #403

Closed mateusz-matyjaszczyk closed 2 months ago

mateusz-matyjaszczyk commented 7 months ago

Describe the bug I have noticed a lot of bugs, problems and overall worse performance of VS Code when SAPUI5 Extension is enabled.

To Reproduce Steps to reproduce the behavior: No idea how to reproduce this issue. I have 17extensions - including SAPUI5 Extension. When that extension is enabled and I try to save file with Prettier turned on, it is extremely slow - usually takes over 30sec per file, the same with Error Lens.... To check what is wrong i ran Bisect within VS Code and I can confirm that SAPUI5 Extension is the problems - when it was disabled, everything was working perfectly. CleanShot 2024-02-12 at 02 11 27

Expected behavior I would expect this to work normally.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): MacOs

Additional context I've also reported this as a bug via VS Code Issue Reporting - after result from Bisect.

Project attachment Happens on every single project.

mateusz-matyjaszczyk commented 7 months ago

Issue #403 and #404 is the same - one created manually by me and second one from VS Code Bisect - with additional test results.

iljapostnovs commented 7 months ago

Hi,

Thanks for bug report, but with this kind of information I can't help with anything. If I can't reproduce the issue, I can't debug it. If I can't debug it, I can't find the root cause, and if I can't find the root cause, I can't fix it.

mateusz-matyjaszczyk commented 7 months ago

Hey,

yes, I understand that... was hoping that VS Code Bisect A/B will tell you anything helpful. I think what I can offer now, is the set of extensions that I am using, maybe you will face the same issues with those extensions? In the meantime, i will research if there is any way for me to debug extensions.

iljapostnovs commented 5 months ago

Hi,

Sorry for late reply, forgot about this issue. If other extensions are the issue, there is nothing I can do with it.

Regarding the debugging, it is kind of tricky, but I could guide a bit and provide the places which could be used for checking the time spent.

You could disable all extensions and test only with this one, if the issue persists, it will mean that it is VSCode UI5 Extension fault. It will not help to find the root cause though.

iljapostnovs commented 3 months ago

Hi @mateusz-matyjaszczyk,

I have released new version which introduces Parsing Delay in VSCode config. Please check if it helps with performance issues.

mateusz-matyjaszczyk commented 2 months ago

"You could disable all extensions and test only with this one, if the issue persists, it will mean that it is VSCode UI5 Extension fault. It will not help to find the root cause though." -> I did that and it was UI5 Extension causing the issue. Nevertheless I did not got that for few weeks already so according to you last response I would assume it is fixed.