[stringtemplate-interest] Re : Visual Studio 2010 support for ST4 template editing

Terence Parr parrt at cs.usfca.edu
Tue Jun 28 10:48:07 PDT 2011


nice. :)  I think AntlrDT plugin also does ST v3 highlighting.
Ter
On Jun 28, 2011, at 2:44 AM, LdK wrote:

> This is a screenshot of Hastee.
> 
> Cheers,
> Hervé
> 
> 2011/6/28 Matthieu Wipliez <mwipliez at yahoo.fr>
> As a matter of fact, a colleague and I have made an Xtext-based editor for ST4 (requires Eclipse 3.7), available here: http://sourceforge.net/p/hastee/
> The grammar is a bit hackish (we do everything with a single lexer + parser) and not complete yet, and the editor is still in an early version (0.2.0), but we already use it to edit the templates in our tools.
> In the future I intend to rewrite the grammar and use a custom lexer (to allow other separators than < and >).
> 
> One of the nice feature the editor has is that it solves implicit references to attributes. This is by definition limited, because scoping is dynamic in ST, but we have found that it is quite helpful when writing templates.
> One thing we would like to do is autocomplete of properties based on an annotation that specifies the class of the input model.
> 
> Cheers
> Matthieu
> 
> De : Terence Parr <parrt at cs.usfca.edu>
> À : Sam Harwell <sharwell at pixelminegames.com>
> Cc : stringtemplate-interest <stringtemplate-interest at antlr.org>
> Envoyé le : Lundi 27 Juin 2011 20h04
> Objet : Re: [stringtemplate-interest] Visual Studio 2010 support for ST4 template editing
> 
> that is so cool!  you bastard. now do it for java ;)
> 
> Ter
> On Jun 27, 2011, at 10:47 AM, Sam Harwell wrote:
> 
> > Hi everyone,
> > 
> > I'm working on support for ST4 editing within Visual Studio 2010. Attached
> > is a screenshot showing the current syntax highlighting, collapsing code,
> > and dropdown bars support. If anyone has any suggestions for other/improved
> > styles to highlight the templates, feel free to drop me a message. :)
> > 
> > I'll be releasing this extension for testing with the upcoming release of
> > the C# port. :)
> > 
> > Thanks,
> > Sam
> > 
> > <ST4Editor.png>_______________________________________________
> > stringtemplate-interest mailing list
> > stringtemplate-interest at antlr.org
> > http://www.antlr.org/mailman/listinfo/stringtemplate-interest
> 
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
> 
> 
> 
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
> 
> 
> <hastee.jpg>_______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20110628/89505f87/attachment.html 


More information about the stringtemplate-interest mailing list