Instagram / Instagram/LibCST

Support LSP for `TypeInferenceProvider`

Open
#947 8 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.9k
Forks
229
PR merge metrics
No merged PRs in 30d

Description

Having access to type information of a node would be hugely beneficial to refactoring. LibCST offers this to [Pyre users via the Pyre Query API](https://libcst.readthedocs.io/en/latest/metadata.html#type-inference-metadata), but not to projects using other type checkers and there's unfortunately enough variance where this matters.

The other major type checkers (mypy, pyright) all support LSP, as does Pyre.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.