Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2011-12-20 19:43:45
Size: 916
Editor: KaiJaeger
Comment:
Revision 6 as of 2011-12-20 20:08:21
Size: 2704
Editor: KaiJaeger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
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 restrict the search to one or more of these:
    * Ignore code
    * Ignore comments
    * Ignore text (=everything between quotes)
 * Use regular expression in your search string (`⎕S, ⎕R`)
 * Negate a search ("every object that does '''not''' contain...)
 * Search only the hits of the last search
Line 12: Line 31:

 * Fire handles references correctly (thanks to PhilLast)
 * Editing in Fire is limited to the currently opened object(s).
Line 17: Line 39:
{{attachment: Fire_01.png}} {{attachment:Fire_01.png}}
Line 19: Line 41:
{{attachment: Fire_02.png}} Specifying anything into 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}}
Line 23: Line 47:
{{attachment: Replace.png}} The Replace feature allows you to change the workspace on a global level:

{{attachment:Replace.png}}

There are two mode available:

 * In one-by-one you can compare and edit one object after the other.
 * In batch mode you can check all changes in one go and then either accept or discard them.
Line 27: Line 58:
{{attachment: Batch_01.png}} This is the first step of three steps in Batch mode:
Line 29: Line 60:
{{attachment: Batch_02.png}} {{attachment:Batch_01.png}}
Line 31: Line 62:
{{attachment: Batch_03.png}} This is the second of three steps in Batch mode:

{{attachment:Batch_02.png}}

It allows you to check whether everything is okay or not.

This is the third and last step:

{{attachment:Batch_03.png}}

This allows to either fix all changes objects or discard the changes.
Line 35: Line 76:
{{attachment: OneByOne_01.png}} In one-by-one mode you can check and edit a single object:
Line 37: Line 78:
{{attachment: OneByOne_02.png}} {{attachment:OneByOne_01.png}}

In the next step you can either fix the changes are skip this object and carry on with the next one or cancel the rest of the Replace operation:

{{attachment:OneByOne_02.png}}

Fire

/!\ Under construction

Fire stands for for FInd and REplace. It's designed to search and replace strings in the workspace.

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 restrict the search to one or more of these:
    • Ignore code
    • Ignore comments
    • Ignore text (=everything between quotes)
  • Use regular expression in your search string (⎕S, ⎕R)

  • Negate a search ("every object that does not contain...)

  • Search only the hits of the last search

Difference between Dyalog's build-in Search tool and Fire

  • Fire handles references correctly (thanks to PhilLast)

  • Editing in Fire is limited to the currently opened object(s).

Fire's GUI

Main Window

Fire_01.png

Specifying anything into the "Start looking here" control is supported by autocomplete: this box offers all ordinary namespaces matching the characters in "Start looking here".

Fire_02.png

The "Replace" feature

The Replace feature allows you to change the workspace on a global level:

Replace.png

There are two mode available:

  • In one-by-one you can compare and edit one object after the other.
  • In batch mode you can check all changes in one go and then either accept or discard them.

Batch mode

This is the first step of three steps in Batch mode:

This is the second of three steps in Batch mode:

Batch_02.png

It allows you to check whether everything is okay or not.

This is the third and last step:

Batch_03.png

This allows to either fix all changes objects or discard the changes.

One by one

In one-by-one mode you can check and edit a single object:

OneByOne_01.png

In the next step you can either fix the changes are skip this object and carry on with the next one or cancel the rest of the Replace operation:

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

Fire (last edited 2018-03-03 11:50:12 by KaiJaeger)