• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How to open multiple files into the same Kate session?

Red Squirrel

No Lifer
When I'm coding I can have 50+ files open at once that I move around in. In Windows I was able to select a group of files, hit enter and they all open up new tabs in Notepad++. With Kate (or any app it seems) they all open new instances of the app. Is there a way around this?
 
When I hit enter the text gets cut, not that I ever do that :^D

Curious why you picked Kate. Did that bring in a bunch of KDE dependencies? I don't do a lot of text work, but I'd handle it by spawning a new tab, and pasting the cut text into that. You may be able to do what you want with scripting. Try tackling it from that angle. I don't use Kate, but it has a section in the extension configuration settings for scripts.

Edit:
You could also use something like Emacs or Vim. The learning curve can be steep, especially with Emacs, but you can do just about anything you'd possibly like with those.

Edit2:
lytyw.jpg


:^D
 
Last edited:
Doesn't Gedit have tabs?

Last time I used Kate it had one redeeming factor and that was selecting text in columns instead of rows. I think they might have lost that feature that at some version. What is it with KDE apps and losing features?
 
Doesn't Gedit have tabs?

Last time I used Kate it had one redeeming factor and that was selecting text in columns instead of rows. I think they might have lost that feature that at some version. What is it with KDE apps and losing features?

You think KDE's losing features, you should check out what Gnome's doing. they're completely gutting it. The only thing left when they finish will be the About Gnome screen :^D

Gedit has tabs, but I don't know if it'll do what squirrel wants. Honestly, I'd have a hard time recommending anything from the Gnome desktop. If it has a valuable feature today, it could be gone tomorrow. It's a shame. It went from being my favorite DE to a slow motion train wreck :^/
 
Kate has sorta tabs, but they're on the side. It came with the distro so I just used it. I tried other editors and it seemed to be the one I liked most. I tried to use code blocks which is actually for C++ but found it clunky for the way I code, I tend to code on one system and compile on another, so I don't need all it's features.

I did realize that if I right click on the selection of files and choose to open with default app it does open in new tabs. For some reason the first time I tried that it opened in separate sessions. With enter it seems to only open one of the files, but if I can do it with right click, guess that's good enough.
 
Glad you got it sorted out - I've used Kate for several years as my primary programming editor. I love the session feature - it would open the current 10-15 files that I was working with during the last programming session. Needed to setup up a script to launch it though, to null bucket all the stdio and stderr messages on launch.
 
Back
Top