pbogut / magento2-ls

The Magento 2 Language Server is a tool that acts as a bridge between Magento 2 XML and PHP files.
14 stars 2 forks source link

Index on demand #2

Closed pbogut closed 1 year ago

pbogut commented 1 year ago

Pros: It will improve startup time (below 2 secs now on my project vs 16+ before). Parsing php files is happening when they are actually required. Caching index in file is not needed.

Cons: Will have to bring it back for find reference if ever implemented. For now YAGNI. May fail to import modules that are doing something fancy in registration.php, will deal with it if/when I encounter one.