Hi Daniel, > On 14 Jun 2017, at 23:14, Daniel Dekany <[email protected]> wrote: > > Wednesday, June 14, 2017, 4:32:41 PM, Woonsan Ko wrote: > >> On Wed, Jun 14, 2017 at 5:25 AM, Daniel Dekany <[email protected] >> <mailto:[email protected]>> wrote: >>> For FM3, because the template language changes, we need to change the >>> standard (recommended) template file extension. I propose this: >>> >>> - ftl to fm3 >>> - ftlx to fm3x >>> - ftlh to fm3h
I am fine with it but isn’t « fm » used mostly for FrameMaker? We could just use « f3 ». > BTW, we also have this thing (agreed upon earlier), that for the sake > of easier tooling like IDE plugins, we will remove syntax auto > detection, and instead rely on extension. (I'm yet to see any tool > that can deal with FM2 syntax detection, unless it has used FreeMarker > itself to parse the template... so we can conclude that it didn't work > out very well in practice.) So we will need one more variation on all > of all these for square bracket syntax. Maybe fm3s, fm3sx, fm3sh (ugh, > my eyes…). You can put is as prefix sfm3, sfm3x, sfm3h (or sf3, sf3x, sf3h - Street Fighter here we come!). Cheers, — Denis. >> I'm fine with that. When I look up the file extension, ftl, I get a >> correct information. e.g, http://www.file-extension.info/format/ftl >> <http://www.file-extension.info/format/ftl> >> But, there seems to be something else associated with fm3 already. >> Wouldn't be a big problem, I guess. > > For 3 letter file extensions that happens quite easily... and > fortunately Lotus 3 is not very main stream nowadays. (It's quite > surprising that the ftl didn't collide with anything.) > >> Regards, >> >> Woonsan >> >>> >>> Why not ftl3? Mostly because I think that "FTL" is kind of cryptic for >>> the casual user (which is almost all the users for a template >>> language), and so it was a mistake to introduce that term. Also in >>> almost all languages, the file extensions is the same or the >>> abbreviation of the project name. The user already knows that this >>> thing is called FreeMarker, hence, "fm" is the most speaking >>> extension. Also, we will have to clearly differentiate FreeMarker 2 >>> from FreeMarker 3, to avoid confusion (which Manual to look into), >>> hence the "3". (BTW, back in the FM1 times the extensions was usually >>> "fm"... it should have been "fm2" after that.) >>> >>> -- >>> Thanks, >>> Daniel Dekany >>> >> > > -- > Thanks, > Daniel Dekany
