code completion in extendj using lsp
play

Code completion in ExtendJ using LSP Daniel Tovesson Why LSP? - - PowerPoint PPT Presentation

Code completion in ExtendJ using LSP Daniel Tovesson Why LSP? - Programming language-specific features - Just one language server needed - Easier for vendors - Growing support


  1. Code completion in ExtendJ using LSP Daniel Tovesson

  2. Why LSP? - Programming language-specific features - Just one language server needed - Easier for vendors - Growing support https://code.visualstudio.com/api/language-extensions/language-server-extension-gui de

  3. What is the Language Server Protocol? - Messaging protocol between client and server - Language server - IDE plugin/extension - JSON-based - Flexible way to implement high-level support in an IDE - Code completion - Hover tooltips - Jump-to-definition - Diagnostics - and more… - Developed by Microsoft

  4. Adding a language server to your IDE - Eclipse - About 20 lines of code - Java - Sublime Text - About 20 lines of code - JSON - Visual Studio Code - About 120 lines of code - TypeScript - Vim - About 70 - 300 lines of code - Vim Script

  5. https://medium.com/ballerina-techblog/implementing-a-language-server-how-hard-can-it-be-part-1-introduction-c915d2437 076

  6. Background - Based on EDAN70 (Language Server Protocol for ExtendJ) - Error checking - Eclipse and Sublime Text - New feature: code completion

  7. Implementation - Code completion in ExtendJ - Cursor position - Identifier - Scope - Variables - Filter - Problems/limitations

  8. Result

  9. Thank you for listening

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend