Think of UDIG using macros recorded by users for example. What? WP too old for you? then why are you still using VIM/Emacs? It would be useless for me to have a VIM like macro facility that doesn't support re-usability in the RCP for other applications using the RCP. This tool will do maybe 60% to 70% of my needs for macros hands-down.Īlthough I would like a rich UI interface that allows me to record macros, I would also like the scripting ability in the background to modify these macros. I saw a quick first hand view of the Eclipse Monkey at eclipsecon, and it's definately a step in the right direction. I just cannot do it automatically within Eclipse. Right now I'll fire up Emacs, again, in order to edit a file with a couple hundred lines that need to be massaged. Sorry about the slightly grumpy tone, but this is one of the really significant things that keeps me from switching over entirely. What exactly is it that prevents it from being implemented? Is it simply deemed "too advanced" or what is it? It is possible to implement it, other editors do. This feature has been requested since 2002. I fail to understand why Eclipse can progress as far as version 3.2, while having been developed on for years by a huge group of developers, a good deal of which are paid by their companies to do a lot of high-quality work - and yet still miss features that have a) proven themselves valuable, and b) been in competing products for decades (note the plural form). With all due respect, this continues to baffle me. Per line, it needs to be reformatted with declarations, braces, quotes, andĬommas for the static initialization of variables in a Java source file.Įmacs keyboard macros have proven themselves to be indispensible for these Structures using output that is generated from a tool (e.g., grep or sed).Īfter redirecting textual output and capturing it in the editor, one record Repeatable set of many complex edits on the first buffer, and then use theĬtrl-U key many times to repeat the macro across each buffer.Ī similar technique is frequently necessary, when populating static data I regularly useĪ 'grep -l' to load matching source files into emacs buffers, record a Make it superior to Eclipse for mass-editing source files that exhibit aĬonsistent pattern of code snippets, where a template has been copied and thenĪ search and replace has been done to achieve the result. This is actually one of the most important features of Emacs that continues to > Emacs also has a powerful macro facility. Requesters but that is way overkill for what I want. Some macro facilities allow you to edit the macro definitions, some going asįar as letting you debug and single step them, but I can't speak for the other Not the point, it's just an example to show the kind of simple operations that There's probably a betr teway to perform this particular example but that's Number of times or until the end of the selection or line. There's also an option to repeat a certain Of those lines what I did was use the macro repeat menu item to repeat the repeatedly to change all the Actually since I had 10,000 So in TextPad I I could place the cursor on the first line and do. ![]() TextPad and save it because Eclipse didn't provide macros:Īnd I wanted to change the to newlines. Here's an example where I had to switch out of Eclipse and do something in TextPad (I don't need to do anything too fancy with it. Like the original poster I'm also a fan of
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |