Wednesday, March 7, 2018, 10:08:45 PM, Angelo zerr wrote:
> Hi Daniel,
> We have already spoken about that, but IMHO I think Freemarker should
> provide an LSP server.
Yeah, they mentioned it over JBoss as well, when I brought the
transfer up now. However, right now we should ensure continually.
Developing a new plugin will take time, and it's not known who, if
anyone will do it. "FreeMarker IDE", however ugly it is, exists right
> After that it will be easy to have
> * good completion, hover, etc by using Eclipse lsp4e
> * have syntax coloration with textmate by using tm4e
I have looked at these briefly when you mentioned LSP, but two
question aren't yet clear to me:
- Can tm4e leverage information provided by lsp4e to do semantical
highlighting? (This will be relevant only for FM3 though, like for
coloring data-model variable references differently than "local"
- Can we leverage some existing HTML/JS/CSS editor functionality with this?
I mean something like in
https://github.com/angelozerr/eclipse-wtp-freemarker. (By far the
most often request for "FreeMarker IDE" is to do HTML syntax
highlighting, but then I'm sure HTML auto-completion etc. will
> And it could work for other editor which supports LSP like VSCode,
> WebStorm, etc
> I think you (the question is who?) should spend your time with LSP
> Freemarker Server. It's an hard work but it will work with a lot of
> Regard's Angelo
> 2018-03-07 20:23 GMT+01:00 Taher Alkhateeb <slidingfilame...@gmail.com>:
>> Great idea. Love to help if I can
>> On Mar 7, 2018 7:08 PM, "Daniel Dekany" <ddek...@apache.org> wrote:
>> > The only Eclipse plugin in reasonable state for editing FreeMarker
>> > templates is "FreeMarker IDE", which is part of the JBoss Tools
>> > project. See the top entry at
>> > https://freemarker.apache.org/editors.html, and also
>> > https://github.com/jbosstools/jbosstools-freemarker.
>> > However, RedHat has deprecated and now removed the "FreeMarker IDE"
>> > plugin from JBoss Tools and Devstudio. See:
>> > https://stackoverflow.com/questions/49072160/why-is-
>> > freemarker-ide-in-eclipse-oxygen-jboss-tools-4-5-2-final-deprecated
>> > https://issues.jboss.org/browse/JBIDE-25736
>> > So I think "FreeMarker IDE" should be brought over to the ASF,
>> > similarly as FreeMarker-Online was. Also the Eclipse update "site"
>> > should be hosted on ASF infrastructure. I have started a discussion to
>> > explore this possibility, and so far it seems it's fine on their side:
>> > http://lists.jboss.org/pipermail/jbosstools-dev/2018-March/subject.html
>> > The code is under EPL, but of course they should "contribute" the code
>> > the ASF where we can replace the license with ASL2, and rename the
>> > packages.
>> > Technically, "FreeMarker IDE" is independent of the rest of JBoss
>> > Tools, we only had to substitute org.jboss.tools:parent (as it's not
>> > in the Maven Central, it's not an acceptable dependency IMO).
>> > What do you think? Will the ASF be fine with bringing over yet another
>> > FreeMarker related project? Do you think it's good to do?
>> > My opinion is that the more control we have over such products, the
>> > easier it is to ensure that they remain maintained and available to
>> > the users.
>> > --
>> > Thanks,
>> > Daniel Dekany