Language Server from Scratch: Integration Testing, Hover, and Hands-On Exercises (LSP)

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

ความคิดเห็น • 16

  • @semanticart
    @semanticart  11 หลายเดือนก่อน +5

    Did you do the challenges? Do you enjoy exercises in videos like this?

    • @nishatsayyed8326
      @nishatsayyed8326 11 หลายเดือนก่อน +3

      Absolutely Jeff. Please keep them coming.
      Would love to see how these language servers can work in Monaco in the web. Thank you so much.

  • @justgarnzendorf
    @justgarnzendorf 3 หลายเดือนก่อน

    I've written a compiler for a language like TypeScript but slightly different and for use alongside C++ as a high-performance video game scripting language. I have been dreading the task of coming up with an extension for VS Code because I've found so few good resources about it but this series has really cleared a lot of things up. I have to implement the LSP in C++ for best results so it'll be a little different but I appreciate the work you've done here very much. Thank you!

    •  หลายเดือนก่อน

      Yeah, I'm facing the exact same situation. His videos helped me a lot. Maybe I could help you to create a sintax hilighter extension. My goal now is creating a language server extension. At first to VS Code, then I'll try to build it to Visual Studio

  • @ahmadkhudai
    @ahmadkhudai 11 หลายเดือนก่อน +5

    Thank you

    • @semanticart
      @semanticart  11 หลายเดือนก่อน +1

      You're welcome! Thanks for watching

  •  หลายเดือนก่อน

    Thank you very much for your guidance. For sure it's the best content available at TH-cam. You have helped me a lot. I know it was much time ago, but is that half hour still available?

  • @xx-vg5fj
    @xx-vg5fj 5 หลายเดือนก่อน +1

    you should add more videos to this series!

    • @semanticart
      @semanticart  5 หลายเดือนก่อน

      Thanks for watching. I might revisit it at some point 😀

  •  หลายเดือนก่อน

    I can't believe that a video with 1500 views have only 13 comments

  • @k3ysyt
    @k3ysyt 9 หลายเดือนก่อน +1

    Hey, thanks for putting this out. I am also trying to build a lsp for a language, can you tell me what are the things that I would need to do differently, here are my doubts:
    1: Do I need to do something with the language grammar?
    2: Would I need to implement the language compiler in the lsp too?
    Example of what I am looking for:
    When I type 'lan,' I expect suggestions for words like 'language.' Then, when I type a period '.', I expect suggestions like 'python,' 'JavaScript,' etc. Next, when I accept a suggestion and type another period, I expect options like 'enable/disable.' So, in the end, I want to form a string like 'language.python.enable.
    An example syntax for the language that I am working on is:
    language.python.enable = true;
    which can also be written as
    language.python {
    enable = true;
    }
    I would be really grateful if you can share a pointer on how to approach this.

    • @semanticart
      @semanticart  9 หลายเดือนก่อน +1

      Rishi, it was great chatting with you today. Best of luck with your project!

  • @tomasvidal424
    @tomasvidal424 11 หลายเดือนก่อน +1

    I recommend you to try bun testing, it's way faster than jest

    • @semanticart
      @semanticart  11 หลายเดือนก่อน +1

      Thanks. I use bun's built-in testing on other projects, I'm just trying to keep keep things more vanilla here :)

  • @VinitKhandagle
    @VinitKhandagle 6 หลายเดือนก่อน

    what font are you using

    • @semanticart
      @semanticart  6 หลายเดือนก่อน +1

      Monaco :) I've tried so many fonts but always come back to Monaco