pyrefly icon indicating copy to clipboard operation
pyrefly copied to clipboard

Tuple Types in type hints are currently not clickable

Open jvansch1 opened this issue 1 month ago • 0 comments

Describe the Bug

Clickable type hints were introduced with https://github.com/facebook/pyrefly/issues/1577.

Currently if you have a type like tuple[int, str], the int and str portion will be clickable, but the tuple will not be. The tuple arm at https://github.com/facebook/pyrefly/blob/main/crates/pyrefly_types/src/display.rs#L548 probably needs some special handling to make this work properly.

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

jvansch1 avatar Nov 25 '25 14:11 jvansch1