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

    • SeeFerns@programming.devOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      Oh definitely, if Kate doesn’t work or is too much of a pain I’ll probably just use Kdevelop instead. It’s just Kate with extras right? I ask about Kate because I like to use lighter programs as much as possible. My computer isn’t a total powerhouse or anything lol.

  • Max@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    3 months 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?

    • SeeFerns@programming.devOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months 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!

    • SeeFerns@programming.devOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      I am familiar with Codium. However I think my brain just wants a total shift away from that environment completely, ya know?

  • Bro666@lemmy.kde.social
    cake
    M
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    If you don’t get the answer you are looking for here, get yourself to our Discuss forum. Devs hang out there often and they may be able to help you.

      • Bro666@lemmy.kde.social
        cake
        M
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Which question was not answered?

        Also, not to be harsh, but your comment is borderline violating KDE’s CoC. if the volunteers working for free helping out other people do not know the answer to your question, there is not much anybody can do about that 🤷. It does not mean other questions will not be answered.

  • Jumuta@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    i think this is all about configuring the lsp server (e.g. clangd in the case of c), pretty sure you can get it working with kate