syntax completion template on multiple sorts
I’d like to write this shorter:
completion template : EntityBodyDeclaration = "function " <name> "(x : Type, y : Type) : ReturnType {\n\t\n}" (blank) completion template : Definition = "function " <name> "(x : Type, y : Type) : ReturnType {\n\t\n}" (blank)
for example, like this:
Submitted by Danny Groenewegen on 4 November 2010 at 11:30completion template : EntityBodyDeclaration, Definition = "function " <name> "(x : Type, y : Type) : ReturnType {\n\t\n}" (blank)
Issue Log
On 23 March 2011 at 14:51 Tobi Vollebregt tagged completion
On 21 April 2011 at 11:29 Tobi Vollebregt closed this issue.
On 21 April 2011 at 11:29 Tobi Vollebregt commented:
Implemented as part of https://yellowgrass.org/issue/Spoofax/362
Syntax in your example would be:
completion template EntityBodyDeclaration Definition : "function " <name> "(x : Type, y : Type) : ReturnType {\n\t\n}" (blank)
On 21 April 2011 at 11:29 Tobi Vollebregt tagged @tvo
On 22 December 2011 at 16:50 Lennart Kats tagged 1.0
Log in to post comments