Jump to content

Intellij IDE support


Go to solution Solved by CodingJungle,

Recommended Posts

40 minutes ago, bfarber said:

Someone ( @CodingJungle I believe) has a tool which helps support IDE autocomplete, however I'm not certain it helps with templates parameters and syntax.

about all it does for "templates" is in a limited fashion gives you a template function list for getTemplate (based on the group param) and if it finds the template, will give you param hints (but this is only in phpstorm and if you have the phptoolbox plugin installed for phpstorm).

2021-03-15_09-06.thumb.png.cb88080c0c8167db6bbb81d735051fe9.png

for an IDE like phpstorm, i usually assign *.phtml to twig in file types, it doesn't do much, but does add some color.

before being assign to twig:

2021-03-15_09-12.thumb.png.412fb325b266729e462a63ca26774262.png

after being assigned to twig:

2021-03-15_09-13.thumb.png.a5a0698deff07eaaead49d3a1eedd405.png

but other than that, there isn't any plugin i know of that will assist with IPS templates and i'm not crafty enough with java to make one 🙂 

Link to comment
Share on other sites

9 minutes ago, CodingJungle said:

about all it does for "templates" is in a limited fashion gives you a template function list for getTemplate (based on the group param) and if it finds the template, will give you param hints (but this is only in phpstorm and if you have the phptoolbox plugin installed for phpstorm).

 

@CodingJungle Sounds great. Is it available for download?

 

Thanks for the twig tip 🙂

Link to comment
Share on other sites

  • 3 weeks later...
On 3/15/2021 at 4:16 PM, CodingJungle said:

about all it does for "templates" is in a limited fashion gives you a template function list for getTemplate (based on the group param) and if it finds the template, will give you param hints (but this is only in phpstorm and if you have the phptoolbox plugin installed for phpstorm).

2021-03-15_09-06.thumb.png.cb88080c0c8167db6bbb81d735051fe9.png

for an IDE like phpstorm, i usually assign *.phtml to twig in file types, it doesn't do much, but does add some color.

before being assign to twig:

2021-03-15_09-12.thumb.png.412fb325b266729e462a63ca26774262.png

after being assigned to twig:

2021-03-15_09-13.thumb.png.a5a0698deff07eaaead49d3a1eedd405.png

but other than that, there isn't any plugin i know of that will assist with IPS templates and i'm not crafty enough with java to make one 🙂 

Can you show how you setup your twig? it looks really bad when I try to set it up

image.thumb.png.d61bb1f3c172fc5a7642c9226d0e09ba.png

Link to comment
Share on other sites

On 4/4/2021 at 1:23 PM, Gil Ronen said:

Can you show how you setup your twig? it looks really bad when I try to set it up

 

2021-04-06_06-17.thumb.png.f9161ef4375a2c2f4fca2f0a17c6492b.png

those are my settings.

my template is the Material Theme UI (i use the night owl theme)

and i have rainbow brackets plugin installed

so it might be a combination of those things that make it a tad bit more "lively"

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...