laravel-idea / plugin

Laravel Idea plugin for PhpStorm
https://laravel-idea.com/
177 stars 7 forks source link

[Feature Request]: Unknown config property #905

Open deZbrown opened 10 months ago

deZbrown commented 10 months ago

Feature Description

Hello Adel,

Firstly, thank you for your excellent work on the Laravel Idea plugin – it's been very helpful.

I'd like to suggest a feature enhancement: the highlighting of unknown or non-existing configuration parameters in PHPStorm.

Currently, when a config path is clicked using Cmd + click, PHPStorm alerts "Cannot find declaration to go to." However, it doesn't highlight or show any error when these config paths are just written out.

Implementing this feature would aid in catching typos or incorrect config parameter names. It would be beneficial in preventing bugs and improving code quality when using the Laravel config helper function.

Best regards

adelf commented 10 months ago

Hello.

Yes. We have plans to implement this and similar checks. With quick fixes, like "Create config key". But I'm not sure when. Right now we are busy with Laravel 11 compatibility. Anyway, thanks for posting. I'll mark this task with special label)