After using Eclipse, WeBuilder's Find and Find & Replace dialogs seem very underpowered, especially concerning regex. The one thing I really like in Eclipse is the regex capture groups.
Additionally, WeBuilder could be a little more intelligent about the default Find & Replace settings. If multiple lines are select and you do a F&R, the Scope should automatically be set to "Selected text". It would also be nice if the little drop-down regex hint list contained characters such as tabs, line feeds, et cetera.
Enhanced Find / Find & Replace
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
We have intention to improve the find functionality. At least some ideas discussed here will be considered.
Thank you also for your suggestion about filling the possible settings automatically, we will see what can be done here.
As for the regular expressions, actually you can see all the expressions available when you press on the ">" button in the right side of "Search for" text field.
Thank you also for your suggestion about filling the possible settings automatically, we will see what can be done here.
As for the regular expressions, actually you can see all the expressions available when you press on the ">" button in the right side of "Search for" text field.
Have you thought about regex capture groups?
Example:
String:
"Example !48px string"
Find:
((\!)(\d+)(px))
In this instance, in the "Replace" dialog box:
$1 = !48px
$2 = !
$3 = 48
$4 = px
So, if you entered the following in to the "Replace" dialog box:
$3 pixels$2
The string would change to:
"Example 48 pixels! string"
Also, just to clarify about the ">" button, I meant that it would be nice if common characters such as the tab character, line feed character, and others were available. Currently, you must copy a tab character and paste it in to the Find dialog to be able to search for tabs.
Example:
String:
"Example !48px string"
Find:
((\!)(\d+)(px))
In this instance, in the "Replace" dialog box:
$1 = !48px
$2 = !
$3 = 48
$4 = px
So, if you entered the following in to the "Replace" dialog box:
$3 pixels$2
The string would change to:
"Example 48 pixels! string"
Also, just to clarify about the ">" button, I meant that it would be nice if common characters such as the tab character, line feed character, and others were available. Currently, you must copy a tab character and paste it in to the Find dialog to be able to search for tabs.