Closed norkans7 closed 8 years ago
This still seems like we're doing it backwards. The original idea was that given an input up to the caret like..
Hello " @(SUM
you first call expressionContext
to reduce it to @(SUM
then you call autoCompleteContext
on that to reduce it to SUM
But what it seems we've been doing is calling autoCompleteContext
on Hello " @(SUM
which then gets confused by "
May be we should just change the test we have in here to match that as well
I am wondering if it does not make sense to move all the completions code(https://github.com/nyaruka/rapidpro/blob/master/static/coffee/completions.coffee) from rapidpro to expressions?
I am closing this and making the adjustment on rapidpro, thanks to clarify
Fix to show pop up in every place where the template engine will actually substitute