Skip to content

fix feature request: recognize modules in string #4345 - #4419

Open
asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:4345
Open

fix feature request: recognize modules in string #4345#4419
asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:4345

Conversation

@asukaminato0721

@asukaminato0721 asukaminato0721 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes #4345

Go-to-definition now resolves module components inside strings such as "accounts.urls".
Clicking accounts opens accounts; clicking urls opens accounts.urls.
Preserves higher-priority __all__ symbol navigation.
Only activates when the complete string resolves as a module, preventing false positives.

Test Plan

add test

@meta-cla meta-cla Bot added the cla signed label Aug 3, 2026
@github-actions github-actions Bot added the size/m label Aug 3, 2026
@meta-codesync

meta-codesync Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This pull request has been imported. If you are a Meta employee, you can view this in D114607551. (Because this pull request was imported automatically, there will not be any future comments.)

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@github-actions
github-actions Bot requested a review from kinto0 August 4, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature request: recognize modules in string

2 participants