I see both sides - I am editing *mostly* an HTML file. But... at the end of the day, my IDE (PHPStorm) is totally confused by the html extension. Is this a shortcoming of my IDE or something that'll confuse many people?
@weaverryan On Jan 18, 2011 4:51 AM, "Nils Adermann" <[email protected]> wrote: > But wouldn't you want to edit a twig html file in the html editing mode > and a twig json file in the json editing mode? An old version of the > project I work on used to have .tpl for the template files and people > were always confused about how to edit those. Whether they would break > anything if they edited the html in them. Once we switched to calling > them .html the file associations were the same by default etc. so it was > immediately clear to them that they should treat them as if they were > regular static html files with some special contents. > > Nils > > On 01/18/2011 10:33 AM, Jordi Boggiano wrote: >> Heya, >> >> I don't want to bother everyone again with that change, but I'm just >> thinking this is maybe not the right way forward so I have to speak up >> before it's too late.. >> >> I see two problems: >> >> - With templates named foo.renderer.format, the editors are taking >> .format as the way to syntax highlight the file. It's ok if you can >> tweak your editor to support twig syntax in html files (I did..), I >> guess most editors won't like that too much, and with .json files and >> the like it doesn't make any sense anymore. >> >> - It looks too damn weird. >> >> Thoughts? >> >> Cheers >> > > -- > If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-devs%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
