Completion templates seem to be proposed inside matching sorts instead of in places where a matching sort could be proposed.

Spoofax/IMP Version:


  1. Create a new Spoofax/IMP project.
  2. At the very end of the example program, on an empty line, trigger completion.
  3. Notice, it does not propose “entity e {}”.
  4. Inside an entity, trigger completion on an empty line.
  5. Notice, it does propose the “entity e {}” here.

Sorry if I don’t speak the right Stratego/Spoofax lingo ;)

Submitted by Thomas de Ruiter on 3 October 2011 at 15:03

On 3 October 2011 at 15:24 Thomas de Ruiter commented:

In Spoofax/IMP version the behaviour is as expected.

On 5 October 2011 at 17:12 Lennart Kats tagged completion

On 17 October 2011 at 18:49 Lennart Kats closed this issue.

On 17 October 2011 at 18:49 Lennart Kats commented:

This seems to be a corner case, where you complete something that is at the end of a list, where the layout belongs to the parent term. I think this was handled better before? Regardless, this issue should be fixed in r23472.

On 22 December 2011 at 16:50 Lennart Kats tagged 1.0

On 28 December 2011 at 13:12 Lennart Kats tagged @lennartkats

Log in to post comments