Really hating all the crap being put into VS code and want a switch.

Im mostly working in C and some Python/Lua and just want to know if I can get parameter hints the same way I do in VS code. It’s a bummer to have to peek at the docs every time I forget what parameters something takes.

I like lightweight programs so Kate is my first thought but if it does t I’ll just go to Kdevelop. Currently using Geany for my really small projects or tests.

Bonus question, if I’m using raylib for game dev, how would those hints work (if at all) in Kate? If Kate is using an LSP for autocompletion, how would that work for a library like Raylib? Sorry I’ve never actually considered this all before now!

Thanks all

  • Max@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    1 day ago

    If you install the language server for your language, then you can get hints, including function arguments and types, in Kate.

    See https://microsoft.github.io/language-server-protocol/implementors/servers/ for a list of server

    I’m not familiar with raylib specifically, but generally as long as you have header files (for C) or stubs (for python) you should be able to get completions for library calls.

    But it seems like you already know about LSPs from your comment. So I’m not sure exactly what your question is? Do they work?

    • SeeFernsOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      20 hours ago

      Thanks for the reply, much appreciated.

      I know what an LSP does but I don’t really know how it works so I wasn’t sure if an external library like Raylib would work the same way auto complete and all that would work for a language like C.

      Truthfully I only understand this stuff at a very basic level, ya know? I read a bit on LSPs and was kind of getting more confusion than answers lol.

      Thanks again!