Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support (autocompletion) for TranslatableMessage class #1940

Closed
Tomsgu opened this issue May 31, 2022 · 0 comments
Closed

Add support (autocompletion) for TranslatableMessage class #1940

Tomsgu opened this issue May 31, 2022 · 0 comments
Labels

Comments

@Tomsgu
Copy link

Tomsgu commented May 31, 2022

Hey there,

From symfony 5.2 there is a TranslatableMessage class. Very useful when using in forms, because symfony can extract those translation elements by e.g. bin/console translation:extract command. It would be sweet to have autocompletion here.

Also I wanted to help the plugin by adding a record to Method references, but it seems not working. My guess is that it can't spot __construct() method when using new keyword? Or am I missing something?
screenshot

@Haehnchen Haehnchen self-assigned this May 31, 2022
@Haehnchen Haehnchen added the todo label May 31, 2022
@Haehnchen Haehnchen added fixed and removed todo labels Jun 1, 2022
@Haehnchen Haehnchen removed their assignment Jun 1, 2022
Haehnchen added a commit that referenced this issue Jun 1, 2022
…sage

#1940 add translation support for TranslatableMessage class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants