Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Tuesday at 01:29 PM
VarunAgw Posted March 15, 2021 Share Posted March 15, 2021 Hello, are there plugins related to Invision Community which add some IDE support. Functionalities I am looking for are: 1. Reformatting 2. Understanding Invision template syntax 3. Autocompletion for Invision templates Link to comment Share on other sites More sharing options...
bfarber Posted March 15, 2021 Share Posted March 15, 2021 Someone ( @CodingJungle I believe) has a tool which helps support IDE autocomplete, however I'm not certain it helps with templates parameters and syntax. Link to comment Share on other sites More sharing options...
CodingJungle Posted March 15, 2021 Share Posted March 15, 2021 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). 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: after being assigned to twig: 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 More sharing options...
VarunAgw Posted March 15, 2021 Author Share Posted March 15, 2021 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 More sharing options...
Solution CodingJungle Posted March 15, 2021 Solution Share Posted March 15, 2021 1 minute ago, VarunAgw said: @CodingJungle Sounds great. Is it available for download? Thanks for the twig tip 🙂 https://github.com/codingjungle/toolbox you can grab it from here, make sure you checkout the dev branch as it is the most up to date. Link to comment Share on other sites More sharing options...
Gil Ronen Posted April 4, 2021 Share Posted April 4, 2021 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). 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: after being assigned to twig: 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 Link to comment Share on other sites More sharing options...
CodingJungle Posted April 6, 2021 Share Posted April 6, 2021 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 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" Gil Ronen 1 Link to comment Share on other sites More sharing options...
Recommended Posts