python-language-server icon indicating copy to clipboard operation
python-language-server copied to clipboard

LSIF for Python

Open mostafaeweda opened this issue 6 years ago • 6 comments

I'm wondering if you have any plans to create an LSIF emitter for python (like TypeScript's: https://github.com/Microsoft/lsif-node/ or Java's https://github.com/Microsoft/lsif-java)

cc @dbaeumer @jdneo

mostafaeweda avatar May 01 '19 15:05 mostafaeweda

No current plans. Eventually, maybe. Currently there is no persistent information to speak of.

MikhailArkhipov avatar May 11 '19 01:05 MikhailArkhipov

@mostafaeweda Curious, what's the use case? Where would you like to use this?

DonJayamanne avatar May 12 '19 16:05 DonJayamanne

I wanted it to power 2 read-only code exploration experiences (periodically indexing our repos):

  1. VS Code’s rich navigation (code review) - https://code.visualstudio.com/blogs/2018/12/04/rich-navigation
  2. Power code navigation on our internal tool (may also be useful to power Github at some point).

mostafaeweda avatar May 12 '19 16:05 mostafaeweda

Power code navigation on our internal tool

Right not that's where you'd see any immediate benefit. Thanks

DonJayamanne avatar May 12 '19 17:05 DonJayamanne

Technically the analysis engine has public API which you can explore and use.

MikhailArkhipov avatar May 12 '19 20:05 MikhailArkhipov

GitLab just added LSIF support https://about.gitlab.com/releases/2020/06/22/gitlab-13-1-released/#code-intelligence

alippai avatar Jun 22 '20 21:06 alippai