How to open multiple files and edit them in eclipse

Status
Not open for further replies.
L

LeoD3

Guest
I'm using Practically Macros, but maybe there is some better Eclipse macro player for this task?

I run some commands on huge amount of files. How do you open all files from a folder - one at a time - recursive, then do some commands on them?

Also is there some better fix for using the save command if there were no changes made? Like only save if changes where made. Now it generates an error so I write an character and then remove it to always be able to save.

I know how to do the file editing, but I first must open the files manually and it takes alot of time because if I select multiple I can't use the open with (Progress OpenEdge AppBuilder (OpenEdge UI Designer) is default and I don't want that but thats not the point here).

Practically Macro example:

*file editing, many commands*
Insert string: -
Delete previous character
Save
Close
Play last macro


This edit all the currently opened files like I want them (beautify). This generates an error when there is no more files to close. How to fix?

So my macro/progress questions where:

  • Is there a better macro player for eclipse than Practically Macro?
  • Is there a way to use the save command only when needed?
  • Is there a way to not get errors when all files are closed? Or a way to detect when the recursive loop should end.
  • Is there a way to open multiple files with in Progress Developer Studio in text mode?
  • Is there a way to recursive open all the files in a folder (one at a time and open with OpenEdge ABL Editor) with macro?

Continue reading...
 
Status
Not open for further replies.
Top