Size: 151
Comment:
|
Size: 3157
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
== Fire == | = Fire = |
Line 3: | Line 3: |
/!\ Under construction | ~-<<SeeSaw(section="table-of-contents", show="true", seesaw="false", toshow="<<(Show>> table-of-contents)", tohide="<<(Hide>> table-of-contents)", speed="Slow")>>-~ |
Line 5: | Line 5: |
'''''Fire''''' stands for for FInd and REplace. It's designed to... | <<TableOfContents>> |
Line 7: | Line 7: |
(Currently this is just a placeholder) | {{attachment:fire.png||align="middle"}} '''''Fire''''' stands for FInd and REplace. It's designed to search and replace strings in the workspace. == Preconditions == Fire needs Dyalog APL/W version 13.0 or better. == Features == Fire's main feature is the "Replace" command which allows you in an easy yet powerful way to replace certain strings in all or selected objects. Other features are: * You can restrict the search to one or more of these object classes: * Traditional functions & operators * Direct functions & operators * Classes * Interfaces * Scripted namespaces * Variables * You can search... * the full source code * the full source code but comments * comments only * text only * Negate a search ("all objects that do '''not''' contain...") * Search only the hits of the last search == Difference between Dyalog's built-in Search tool and Fire == * Fire handles circular references correctly (thanks to PhilLast) * Fire reports a WS FULL only when it is reasonable to do so == Fire's GUI == === Main Window === {{attachment:Fire_01.png}} Specifying anything in the "Start looking here" control is supported by autocomplete: this box offers all ordinary namespaces matching the characters in "Start looking here". {{attachment:Fire_02.png}} === The "Replace" feature === The Replace feature allows you to change the workspace on a global level: {{attachment:Replace.png}} There are two modes available: * "All in one go" allows you to check all changes first and then either accept or discard them. * "One-by-one" allows you to compare and edit one object after the other. ==== "All in one go" mode ==== When you select the "Preview" button you get this: {{attachment:Batch_02.png}} This allows you to check whether everything is okay or not. Here we see a "compressed" report: it contains only the lines which would change plus the object names plus the headers for all traditional functions and operators in order to make checking local variables easy. You cannot change anything at this stage but you can exclude certain objects from the "Replace" operation by un-ticking the check box. This is the second and last step: {{attachment:Batch_03.png}} This allows you to either change and fix all objects or not. ==== One by one ==== In one-by-one mode you can check and edit a single object: {{attachment:OneByOne_01.png}} In the next step you can either fix the changes or skip this object and carry on with the next one or cancel the whole operation: {{attachment:OneByOne_02.png}} == Project Page == For bug reports, future enhancements and a full version history see [[Fire/ProjectPage]] == Version Information == ||Original author: ||KaiJaeger || ||Responsible: ||KaiJaeger || ||Email: || kai@aplteam.com || <<Include(APLTreeDownloads)>> ---- CategoryAplTree |
Fire
Contents
Fire stands for FInd and REplace. It's designed to search and replace strings in the workspace.
Preconditions
Fire needs Dyalog APL/W version 13.0 or better.
Features
Fire's main feature is the "Replace" command which allows you in an easy yet powerful way to replace certain strings in all or selected objects.
Other features are:
- You can restrict the search to one or more of these object classes:
Traditional functions & operators
Direct functions & operators
- Classes
- Interfaces
- Scripted namespaces
- Variables
- You can search...
- the full source code
- the full source code but comments
- comments only
- text only
Negate a search ("all objects that do not contain...")
- Search only the hits of the last search
Difference between Dyalog's built-in Search tool and Fire
Fire handles circular references correctly (thanks to PhilLast)
- Fire reports a WS FULL only when it is reasonable to do so
Fire's GUI
Main Window
Specifying anything in the "Start looking here" control is supported by autocomplete: this box offers all ordinary namespaces matching the characters in "Start looking here".
The "Replace" feature
The Replace feature allows you to change the workspace on a global level:
There are two modes available:
- "All in one go" allows you to check all changes first and then either accept or discard them.
- "One-by-one" allows you to compare and edit one object after the other.
"All in one go" mode
When you select the "Preview" button you get this:
This allows you to check whether everything is okay or not. Here we see a "compressed" report: it contains only the lines which would change plus the object names plus the headers for all traditional functions and operators in order to make checking local variables easy. You cannot change anything at this stage but you can exclude certain objects from the "Replace" operation by un-ticking the check box.
This is the second and last step:
This allows you to either change and fix all objects or not.
One by one
In one-by-one mode you can check and edit a single object:
In the next step you can either fix the changes or skip this object and carry on with the next one or cancel the whole operation:
Project Page
For bug reports, future enhancements and a full version history see Fire/ProjectPage
Version Information
Original author: |
|
Responsible: |
|
Email: |