amir9480 / vscode-laravel-extra-intellisense

This extension adds extra autocompletion for laravel projects to VSCode.
https://marketplace.visualstudio.com/items?itemName=amiralizadeh9480.laravel-extra-intellisense
MIT License
3.4k stars 54 forks source link

Extension causes high cpu load #33

Open erlopezg opened 3 years ago

erlopezg commented 3 years ago

:warning: Make sure to attach this file from your home-directory: :warning:c:\Users\ADMIN-~1\AppData\Local\Temp\amiralizadeh9480.laravel-extra-intellisense-unresponsive.cpuprofile.txt

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

HighTide2020 commented 3 years ago

I experienced the same issue.

amir9480 commented 3 years ago

@erlopezg @M4LWare666

There isn't enough information for me to solve this issue. Probably an issue with regex I use to parse functions. https://github.com/amir9480/vscode-laravel-extra-intellisense/blob/master/src/helpers.ts#L192

Please share a sample code and tell exactly where is your cursor at when this issue happens.

amphetkid commented 3 years ago

Having the same problem happens often on Eloquent relationships