Commit 5510020
authored
[ty] IDE: add support for
This PR adds logic for detecting `Name Dot [Name]` token patterns,
finding the corresponding `ExprAttribute`, getting the type of the
object and returning the members available on that object.
Here's a video demonstrating this working:
https://github.com/user-attachments/assets/42ce78e8-5930-4211-a18a-fa2a0434d0eb
Ref astral-sh/ty#86object.<CURSOR> completions (#18468)1 parent c0bb83b commit 5510020
File tree
6 files changed
+437
-24
lines changed- crates
- ty_ide/src
- ty_python_semantic/src
- types
- ty_server/src
- playground/ty/src/Editor
6 files changed
+437
-24
lines changed
0 commit comments