Find and replace in WebIDE
Problem to solve
I need to find a specific string pattern from a template project and replace all occurrences with project-specific ones. I believe a find-and-replace function should be essential to most IDEs.
Proposal
I'm an Atom user, so my proposal is mainly based on what Atom has.
Find in current file
When the user press Ctrl+F
when a file is currently opened, a find in current file panel should appear:
- Find: (text)
- Replace: (text)
- Case sensitive (check)
- Regular expression (check)
- Only in selection (check)
- Find previous / Find next (button)
- Replace/Replace all (button)
Results are highlighted in the current tab.
Find in project
When the user press Ctrl+Shift+F
, or when the user press Ctrl+F
when no file is currently opened, a find in project panel should appear:
- Find: (text)
- Replace: (text)
- Path pattern: (text) (only search in path matching the pattern)
- Case sensitive (check)
- Regular expression (check)
- Find all (button)
- Replace all (button)
Results are shown in a new tab.
What does success look like, and how can we measure that?
This should be very self-explanatory so I'm leaving out the rest of the details.
Edited by Yuping Zuo