Haehnchen / idea-php-symfony2-plugin

IntelliJ IDEA / PhpStorm Symfony Plugin
https://plugins.jetbrains.com/plugin/7219
MIT License
911 stars 137 forks source link

Add support for suffix "message" in Constraint properties #2279

Closed VincentLanglet closed 6 months ago

VincentLanglet commented 7 months ago

Hi @Haehnchen

The plugin only provide autocompletion for Constraint properties which starts with "message" but it's more common to see the suffix "message". For instance https://symfony.com/doc/current/reference/constraints/Length.html has minMessage and maxMessage property.

I tried to make the change, but I'm not familiar to JAVA, so open to any comment :)

Thanks a lot for your time and this project.

Haehnchen commented 6 months ago

good to me and nice catch :+1:

VincentLanglet commented 6 months ago

good to me and nice catch 👍

Build was failing, I tried to fix it