-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
For now, the completion system extract the current 'expression' by splitting the current line from last space to current cursor position, and then split on each '.' char to get each part of the current 'expression'
Example :
let res = a.m2.m1.<cursor position>
// This becomes -> "a.m2.m1." and then -> ["a", "m2", "m1"]
This is a temporary solution and it has many shortcomings. I think that we should be able to get the closest AST node directly, and then work from here to get to the same point. This would enable us to have a single parsing method, which is the right way to go
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels