21
Question about Kate (programming.dev)

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

you are viewing a single comment's thread
view the rest of the comments
[-] maxwellfire@lemmy.world 7 points 2 days ago* (last edited 2 days 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.dev 1 points 1 day 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!

this post was submitted on 15 Mar 2025
21 points (100.0% liked)

KDE

6104 readers
288 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 2 years ago
MODERATORS