Open myroslavarm opened 4 years ago
another issue with this problem is #75
potential solutions that need to be explored are described in #73
What we need to do:
-> all these cases we end up calling #completionEntries and #completionToken on the node, which en d up calling the methods in RBProgramNode doing nothing -> completionToken should return the word from courser back to the first non-alphabetic character -> completionEntries should use this string and present all variable names / all message selectors as possible completion
This way we have a good fall back when we end up in situations like this
Fallback takes care of this now
the code in the issue #78 invoked a DNU on assignment node, when in fact it should've been parsed as a message send. we need to figure out a way how to correctly parse error nodes