Live data from Hacker News

Kate editor on all platforms

cullmann.io

141–150 of 159 posts

Re: Kate editor on all platforms

#141
post #33

Earlier quoted context omitted.

Which shows how far ahead KDE was even in 3.5 times with reusable embeddable components that were highly engineered. For example Konqueror has a long list of plugins including calling kwrite to render inside of it. The early kio tooling that predates fuse in having universal access through a single file viewer.

And it is so frustrating to see how unknown and neglected KParts is

In what way is it neglected? It works, no need for pointless churn.

Also while it might not be known to users (why would it need to be), it is used in various KDE programs where it makes sense.

Re: Kate editor on all platforms

#143
post #10
post #9

Earlier quoted context omitted.

That is a wild accusation. I need to install a nightly of Kate and give it another chance, if it's truly as good as you say. Np++ is starting to annoy me, with it's constant reopening of like 50 files every time it's started lol.

The fix is a checkbox away in the np++ settings dialog. That just goes to show that defaults are incredibly powerful.

That's not a fix if you still want to be notified when files change under you but without a modal that prevents you from doing anything else (including closing the file it's nagging you about). Kate (or any other application using Kate's editor component) does this much better by displaying a non-modal notification bar at the top of the editor similar to how browsers have implemented non-modal notifications.

Re: Kate editor on all platforms

#144

Earlier quoted context omitted.

No. No. No. You have it wrong, my friend. The entire thing, like systemd and wayland, is a glorified excuse to reinvent the wheel so that a fresh batch of wizards can continue the cycle.

Ah, this thought stopping argument again. X11 is garbage which nobody wants to maintain, let alone develop. It's a very archaic design which is patched via extensions to sorta support some modern concepts which negate the network transparency anyway. Both Wayland and systemd have a very wide developer consensus, because they finally provide a maintainable solution to their respective problems. The drama is constructe…

Wayland might have some developer consensus for the base protocol. Not so much for extensions to make it actually usable on a desktop. By the time it does it will be a patchwork as complex as X11 - it's already getting there with things like requiring PipeWire for simple things like capturing the screen.

Re: Kate editor on all platforms

#145

Earlier quoted context omitted.

KDE4 is a sad story. It ruined the reputation of KDE for a very long time. I loved KDE 3.5, but then came back to KDE only in 2021. It's mostly just a problem of communication. KDE 4.0 should not have been marked as stable and should not been used by distros. If they baked KDE4 for two more years and on the side maintained/developed 3.5, the transition might be much smoother.

While there were some bugs in early KDE 4, those were not the main problem. No amount of baking could have saved it. The main problem was caused by the completely different purposes of the new developers, who have removed all the outstanding customization features of KDE 3.5. For me, indeed KDE 3.5 has been the best graphic desktop that I have ever seen. Neither before, nor after and neither on Apple or Windows have…

> The same kind of developer philosophy, that users are dumb and they must be prevented from customizing the application

The more holistic view is that every customization path incurs a support burden.

If you have 3 options to support, you can engineer and test the heck out of each option. 15 options? Not so much.

So having those 12 extra options not only creates permanent extra workload, as dev time is finite you’ve effectively made the 3 aforementioned options worse off.

Re: Kate editor on all platforms

#146

Kate was one of the main reasons I switched to Linux in 2004/2005. I had a lab in MySQL, and back then, the only option to develop in Windows was MySQL Workbench, which was as heavy as it got. Running an SQL statement was painfully slow, and iteration cycles were huge. In Linux, you would write your SQL in Kate, and run MySQL's cli in the embedded terminal. Once ready, you would click the button “pipe to terminal". I…

Oh, I loved Amarok back in the days! Nowadays the only end-user player I know that has some of its abilities is Apple's Music.

Re: Kate editor on all platforms

#147

Earlier quoted context omitted.

the architecture is really simple. The buffer contigously stores a list of "blocks". Each block contains a small number of actual text lines (usually 64-128). Thus if you edit a line, we only need to update the block containing the line. Once a block grows bigger than a certain number of lines, we split it into two.

Hey, Waqar! If I’m not mistaken, you also contributed to my own Notes app https://github.com/nuttyartist/notes , so thanks! Can you please point where in Kate’s source code I’ll see the implementation for this? That would be super helpful.

https://invent.kde.org/frameworks/ktexteditor/-/tree/master/...

Re: Kate editor on all platforms

#148
post #109

Earlier quoted context omitted.

There's no app that uses the same shortcuts in all OSs because that's just stupid (amongst other reasons, because the shortcuts would conflict with the OS's own shortcuts, just to mention one obvious reason). You need to default to the OS's defaults, and maybe have an option to try using another OS's defaults (like other IDEs do).

Let me just call bullshit on that https://support.google.com/chrome/answer/157179?hl=en&co=GEN... Wow, ctrl+p instead of boxy thing+p, such difference.

You keep making low effort comments that add nothing to the conversation. What are you trying to accomplish?

Have you actually tried using Kate on MacOS?

I have , and as I said, I even tried to help them use the correct defaults because it's completely unusable with the shortcuts they ship with.

Re: Kate editor on all platforms

#149
post #148

Earlier quoted context omitted.

Let me just call bullshit on that https://support.google.com/chrome/answer/157179?hl=en&co=GEN... Wow, ctrl+p instead of boxy thing+p, such difference.

You keep making low effort comments that add nothing to the conversation. What are you trying to accomplish? Have you actually tried using Kate on MacOS? I have , and as I said, I even tried to help them use the correct defaults because it's completely unusable with the shortcuts they ship with.

[flagged]

Re: Kate editor on all platforms

#150
post #89
post #57

Earlier quoted context omitted.

My favourite Kate feature is sessions . Whatever your working on, you can save the session - including all open files and editor layouts, and restore it later on.

This is a killer feature in (n)vim as well. I had been trying out emacs + evil for some months at one point (was previously a vim user), but never got session restores working well at all. With vim it all restores, it's in the right spot, and even remote files opened with the scp:// syntax reopen perfectly. No plugins needed. I just use one session with the default filename of Session.vim, so a quick `nvim -S` gets m…

Woah, I've been using Neovim as my main editor for a few months at this point and didn't know it supports sessions. This is awesome, thanks!
Post reply on HN