(*** This bug was imported into bugs.kde.org ***) Package: kate Version: 2.0 (using KDE 3.0.2 ) Severity: wishlist Installed from: Gentoo Compiler: gcc version 3.1 OS: Linux (i686) release 2.4.19-gentoo-r7 OS/Compiler notes: A macro system would be a great addition to Kate. If you've got access to a Windows machine download Textpad (http://www.textpad.com) and try their macro system to get a feel for what I recommend. With Textpad you can select "Record Macro" and it will record your input (cursor movement searches replaces etc). Click "Stop Recording" and you can assign a keystroke to the new macro and indicate if it should be applied once or if it should repeat to the end of the file. I have found many uses for this feature over the years. Lacking it in KDE has been a bit of a bummer. I can struggle along with Sed but it would be much more elegant integrated with my favorite text editor :). (Submitted via bugs.kde.org) (Called from KBugReport dialog)
better would be a general macro system that can be used with any KDE program, not only kate.
Kate has scripting support through Kscript (a short descripiton at http://kde.geiseri.com/kscript-howto.html). This might be for some of you a workaround for the lack of a macro engine. At least it is for me.
*** Bug 48030 has been marked as a duplicate of this bug. ***
The interesting things under Textpad and Microsoft Word (which has the same feature) is that it internally translates the keyboard and mouse events into macro code which you can edit later. This frees the user from typing the code himself ! I've used that many many times under Microsoft Visual Studio and it proved very helpful ! First advantage : you can save the macro, assign it a shortcut and reuse it at will Second advantage : you can share the macro Third advantage : you can make your macro more generic and even use a dialog so the user can customize some things Fourth advantage : there is no problem :) :)
this is more than require... I think KDE should offer an amazing editor for programmer. here is another astonishing example of an editor TextMate under OSX. there is nothing you can't do with this, its crazy. and makes it more fun to code. thanks
isn't this wished already fullfilled with the snippets extension available in kdeaddons ? maybe a GUI is require... the snippets extension seems quite hard to use ...
> isn't this wish [...] fullfilled with the snippets extension [...] ? Snippets acutally have nothing to do with macros.
I agree with need of macros. Another subwish is to make recorded macro a new item -- in a way I could assign an icon to it, place it on toolbar, menu, add a shortcut for it, etc. Macro should contain all user actions /I am especially interested in combined "command line"+"sort" as a new item :-)/.
Hopefully someone does this soon. It can't be too difficult can it?? :) PFE another text editor on Windows can do it. Please this is the only thing awesome kate doesn't have. Anyone??
Of course, you must have missed NEdit. This is a good example of a simple but powerful text editor. Alt-K to record Alt-K to stop Ctrl-K to repeat what you just recorded. UNIX only (plus cygwin) In kate I find myself opening things in NEdit to edit then and using kate as a text browser.
*** Bug 144632 has been marked as a duplicate of this bug. ***
*** Bug 140967 has been marked as a duplicate of this bug. ***
What's the status of this wish? Macro system is required for Kate, this should be one of the most important features to add imho.
As you can see from the comments here and from the fact that this wishlist hasn't been closed yet, there's still no implementation available. If you want this feature so badly, jump in and code it yourself. The kate code is pretty easy to understand. The kate devs will eventually get around to doing this if one of them wants to work on this feature.
Indeed! I think emacs trumps kate only in its macros feature. Of course, I'm just an echo here, but maybe I can try looking at some of the code.
(In reply to comment #2) > Kate has scripting support through Kscript (a short descripiton at > http://kde.geiseri.com/kscript-howto.html). This might be for some of you a > workaround for the lack of a macro engine. At least it is for me. Can I get an update on this link,... all I get is a blank page,... thanks
KScript look like a defunct project. I like Kate and use it often for it's kioslave linking. It is quite annoying that this is missing and stops devs using it in preference to Visual Studio :-)
Dear user, this wish list item is now closed, as it wasn't touched in the last two years and no contributor stepped up to implement it. The Kate/KTextEditor team is very small and we can just try to keep up with fixing bugs. Therefore wishs that show no activity for two years or more will be closed from now on to keep at least a bit overview about 'current' wishs of the users. If you want your feature to be implemented, please step up to provide some patch for it. If you think it is really needed, you can reopen your request, but keep in mind, if no new good arguments are made and no people get attracted to help out to implement it, it will expire in two years again. We have a nice website kate-editor.org that provides all the information needed to contribute, please make use of it. For highlighting improvements our user manual shows how to write syntax definition files. Greetings Christoph