Skip to content

fix Command-line entry-point for LSP features #3148 - #4183

Open
asukaminato0721 wants to merge 1 commit into
meta:mainfrom
asukaminato0721:3148
Open

asukaminato0721 wants to merge 1 commit into
meta:mainfrom
asukaminato0721:3148

Conversation

@asukaminato0721

Copy link
Copy Markdown
Collaborator

Summary

Fixes #3148

New commands:

pyrefly query hover FILE LINE COLUMN
pyrefly query find-references --include-declaration FILE LINE COLUMN
pyrefly query call-hierarchy FILE LINE COLUMN

Positions are one-based UTF-16. Call hierarchy returns the resolved item plus incoming and outgoing calls. Results are deterministically ordered for agent consumption.

Test Plan

add test

@github-actions

This comment has been minimized.

@meta-codesync

meta-codesync Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown

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

This branch has not been deployed

No deployments
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.

Command-line entry-point for LSP features

2 participants