fwcd / kotlin-language-server

Kotlin code completion, diagnostics and more for any editor/IDE using the Language Server Protocol
MIT License
1.67k stars 210 forks source link

Investigate using the new Kotlin analysis API #289

Open fwcd opened 3 years ago

fwcd commented 3 years ago

Update (June 2022):

A prototype of a language server using the new analysis APIs can be found in the kotlin-analysis-server repo. Note that this is not production ready and mostly intended as a playground for experimentation currently.


The Kotlin frontend is currently undergoing large architectural changes with the migration to FIR and will provide some new APIs for IDE-related usage that we could hook into, once ready.

The interesting modules seem to be mostly located in analysis (in the Kotlin repo). Useful resources:

lppedd commented 3 months ago

Might be useful! https://kotlin.github.io/analysis-api/index_md.html