Commit 7b4fb09
committed
[ty] Improve support for
This makes it work for a number of additional cases, like nested
attribute access and things like `[].<CURSOR>`.
The basic idea is that instead of selecting a covering node closest to a
leaf that contains the cursor, we walk up the tree as much as we can.
This lets us access the correct `ExprAttribute` node when performing
nested access.object.<CURSOR> completions1 parent 7c4456a commit 7b4fb09
1 file changed
+375
-32
lines changed
0 commit comments