Twig format support

Answered

Hi. When will it be possible to format twig files? Will this be at the same time as plugin support?

0
7 comments

Hi,

There are no plans to support twig files formatting at the moment. We are currently working on the plugins API, so it may be supported by the third-party plugins developers.

0

Thanks for the answer. 

Will there be a twig plugin available? Will such a plugin format the code?

Twig plugin is available in phpstorm or webstorm. Why not Fleet?

0
Fleet and IntelliJ-based IDEs have very different architectures, thus it will not be possible to use in Fleet the plugins that were initially developed for IntelliJ-based IDEs. We are currently working on the plugins API, however there are no plans to support this plugin specifically at the moment. 

Could you please specify: do you only need the 'Reformat Code' functionality?
0

Hi. Many of my projects use twig files. I need formatting but I expect a plugin like in phpstorm.

After many months, has anything changed?

0
Hello,

Thanks for reaching out to us!

In fact, yes, twig files should be supported in Fleet. May I ask if you have any particular issues with formatting?

Pavel Boger
JetBrains
https://www.jetbrains.com
The Drive to Develop
0

Hi.

Opent twig file → right click “Format” → error

error: 

Could not find a formatter for language LanguageId(name=textmate:text.html.twig).

Flet 1.41.101

0
Hello!

Thanks for clarifying! Indeed, this action seems to be not supported for Twig files. I created an issue for this, please feel free to subscribe:

https://youtrack.jetbrains.com/issue/FL-30554/Support-Reformat-Code-for-Twig-files

Regards,
Pavel
0

Please sign in to leave a comment.