this post was submitted on 24 Apr 2025
75 points (96.3% liked)

Linux

53639 readers
983 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 16 comments
sorted by: hot top controversial new old
[–] AugustWest@lemm.ee 2 points 1 day ago

I really like Kate! Been my text editor for what 20 years now?

[–] Affidavit@lemm.ee 19 points 4 days ago (2 children)

I feel kind of lame saying so, but I just use Kate for taking notes.

I only realised it was supposed to be for editing code when it gave me a debug error when I wrote something with parentheses (what do you mean there's an error in line 43!? That sentence makes perfect sense!)

[–] nfreak@lemmy.ml 2 points 2 days ago

That's what I've been doing too LOL. It's basically just my Notepad replacement.

[–] rumschlumpel@feddit.org 7 points 4 days ago

I'm a programmer and I still use Kate mostly for notetaking and configuration editing. I tend to use other editors like VS Code when I'm doing more involved stuff.

[–] 42yeah@lemm.ee 6 points 3 days ago

I love Kate! It’s so lightweight compared to other heavy ass IDEs. Just hook up an LSP and you’re good to go. I use it to manage 3 simultaneous HUGE projects, plus a configured build & run command for them, instead of 3 CLions. It’s just an awesome editor all around.

[–] Lemmchen@feddit.org 15 points 4 days ago* (last edited 10 hours ago) (1 children)

Why not directly use https://kdevelop.org/ instead? It's basically Kate with all the dev plugins enabled by default.

[–] o1o12o21@lemmy.ml 1 points 2 days ago

I didn't know this. Would it be possible to run multiple projects as 42yeah said above, with kdevelop too?

[–] rumschlumpel@feddit.org 10 points 4 days ago* (last edited 4 days ago) (1 children)

Neat. I've been using kate as my standard text editor for years, mostly because of the session management and because you can give it a pretty minimalist interface with some configuration (something that similar editors like Geany tend to struggle with). I honestly didn't know that there was a searchable tab list, I've been using ~~alt+tab~~ ctrl+tab (which already has a much better UI than many other editors) but that definitely gets unwieldy when you have a ton of tabs open (which is always ... don't even ask how many browser tabs I have).

[–] Finadil@lemmy.world 2 points 4 days ago (1 children)

*Ctrl+tab for those that don't know.

[–] rumschlumpel@feddit.org 1 points 4 days ago

Thanks, not sure where I got alt+tab from - I think ctrl+tab is actually the more common shortcut for tab switching nowadays.

[–] galoisghost@aussie.zone 8 points 4 days ago

This is great. This dude should write the Kate manual. I’ve always struggled to set it up the way I need.

[–] kate@lemmy.uhhoh.com 3 points 4 days ago
[–] onlinepersona@programming.dev 3 points 4 days ago (2 children)

After reading this, I'm kinda curious how it compares to JetBrains. It's becoming more and more VSCode like and I'm not a fan.

Does Kate support or have plugins for renaming symbols, presenting documentation, formatting files, showing code diagnostics beyond syntax errors (for example code smells or so), have AI integration (explain this, rewrite this, replace this with prompt output, ...), specific framework integrations (reactjs, django, actix, ...), and stuff like expanding macros in C/C++ and Rust?

Anti Commercial-AI license

[–] Ephera@lemmy.ml 6 points 4 days ago* (last edited 4 days ago) (1 children)

renaming symbols, presenting documentation, formatting files,

Yes, these are supported via the Language Server Protocol (LSP). I've mostly been using it with the Rust LSP server (rust-analyzer) and well, it typically works, but sometimes you have to tell it to restart the LSP server and stuff (which isn't a huge ordeal, but don't expect everything to always work as well as in a full-fledged IDE).
I believe, for formatting, there's also some non-LSP support.

showing code diagnostics beyond syntax errors (for example code smells or so),

This is supported in principle via LSP, too, but it depends on the specific LSP server, how much info it provides. The Rust compiler gives out relatively much on its own, which is passed on by the LSP server, but you can apparently also configure it to use the linter on save.

have AI integration (explain this, rewrite this, replace this with prompt output, …),

Not out of the box. There's a way to define "External Tools", which basically allows you to run commands and pass arguments to them and then use their output. For example, you should be able to define an External Tool, where you can select some text, then press your keyboard shortcut for that tool, so it sends the selected text to that tool and then it takes the command output and inserts it instead of the selected text.
While this is a powerful concept, I don't know, if you hit limitations at some point.

specific framework integrations (reactjs, django, actix, …),

Nope, except where this might be covered by LSP. But there's no obvious way to just install additional plugins, for example. You get about thirty built-in plugins and that's it.

and stuff like expanding macros in C/C++ and Rust?

Well, expanding macros is also possible with the Rust LSP server. Don't know about other languages.

[–] onlinepersona@programming.dev 2 points 3 days ago* (last edited 3 days ago)

Thanks for the response. So there's a bunch of stuff to do myself but also surprisingly enough stuff for an editor.

I'll take a deeper look at it.

Anti Commercial-AI license

[–] rumschlumpel@feddit.org 4 points 4 days ago

As a years-long Kate user, I'd assume the answer to most of those features is "no". It's still mostly a code editor, not an IDE.