Upgrade to Pro — share decks privately, control downloads, hide ads and more …

State_of_LSP_in_Kotlin.pdf

 State_of_LSP_in_Kotlin.pdf

prassee

April 11, 2020
Tweet

More Decks by prassee

Other Decks in Programming

Transcript

  1. To IDE(A) or not IDE(A) - IDE(A) as the name

    denotes integrates almost everything in to a single application - Project management with build tools - Autocompletion - Better code refactoring - Code conversion - Debugging & more - It also known for high resource usage when used with complex code base
  2. Yeah …. I’m happy with IDE(A) the talk is over

    !!!! But wait … this talk is about LSP rite ???
  3. Agenda - What this talk is not about - What

    is LSP & how it differs from IDE - LSP for Kotlin - Demo - Caveats - Why I’m presenting this ? - Kotlin LSP Community
  4. What this talk is not about - Proposing an alternative

    to IDE’s - Finding out which is the best IDE - Celebrate LSP on more than the other - How to work on IDE
  5. What is LSP ? - LSP (Language Server Protocol) by

    which Language / Compiler can interact with editors. - Protocol proposed by Microsoft - An emerging standard - Just a different way of working but not an alternative (yet !!!! * ) * Terms and conditions apply
  6. How LSP compares with IDE(A)’s - IDE’s are generally full

    stack - Very much UI driven - HIgh Resource usage - Stable - Support provided by the IDE community and paid comitters - Only pick alternatives - Some features are commercial - IDE’s are generally full stack - Very much config driven - In both LSP Server and editor - Limited resource usage - Getting stable / unstable for certain features - Fully owned and supported by community - Choice of LSP server and editors is kept very open
  7. Caveats - More than on lang server and editor support

    (may be a challenge for IDE folks) - Not all features may be available for an IDE kind of person - Lack of build tool integration - Debugger support in infant stage - Code refactoring is a challenge - Editors to support for every new LSP feature
  8. Why I’m presenting this ? - To welcome members of

    this group to foster the interest for using LSP - Being a new users group, we can contribute to Kotlin Language Server project
  9. Kotlin LSP Community - Discord - https://discordapp.com/invite/cNtppzN - evaluating and

    finding issues https://github.com/fwcd/kotlin-language-server/issues - By participating in the roadmap https://github.com/fwcd/kotlin-language-server/projects/1
  10. Q&A